@@ -36,6 +36,10 @@ concurrency:
3636 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3737 cancel-in-progress : true
3838
39+ defaults :
40+ run :
41+ shell : bash
42+
3943jobs :
4044 checksecret :
4145 # Check that valid github secrets have been set. This isn't needed to retrieve
4953 env :
5054 HOUDINI_CLIENT_ID : ${{ secrets.HOUDINI_CLIENT_ID }}
5155 HOUDINI_SECRET_KEY : ${{ secrets.HOUDINI_SECRET_KEY }}
52- run : echo "::set-output name= HOUDINI_SECRETS:: ${{ env.HOUDINI_CLIENT_ID != '' && env.HOUDINI_SECRET_KEY != '' }}"
56+ run : echo "HOUDINI_SECRETS= ${{ env.HOUDINI_CLIENT_ID != '' && env.HOUDINI_SECRET_KEY != '' }}" >> $GITHUB_OUTPUT
5357 - name : Skip Next Jobs
5458 if : steps.check.outputs.HOUDINI_SECRETS != 'true'
5559 run : echo "HOUDINI_CLIENT_ID and HOUDINI_SECRET_KEY GitHub Action Secrets needs to be set to install Houdini builds"
@@ -69,11 +73,10 @@ jobs:
6973 strategy :
7074 matrix :
7175 config :
72- - { cxx: clang++, image: '2021', hou: '19_5', j: '8', build: 'Release', components: 'core,hou,bin,view,render,python,test,axcore,axbin,axtest', disable_checks: 'OFF' }
73- # Houdini 19 is technically on VFX 2020, but we need 2021 dependencies for VDB 10
74- - { cxx: clang++, image: '2021', hou: '19_0', j: '8', build: 'Release', components: 'core,hou,bin,view,render,python,test,axcore,axbin,axtest', disable_checks: 'ON' }
75- - { cxx: clang++, image: '2021', hou: '19_5', j: '8', build: 'Debug', components: 'core,hou', disable_checks: 'OFF' }
76- - { cxx: g++, image: '2021', hou: '19_5', j: '8', build: 'Release', components: 'core,hou', disable_checks: 'OFF' }
76+ # - { cxx: clang++, image: '2022', hou: '20_0', build: 'Release', components: 'core,hou,bin,view,render,python,test,axcore,axbin,axtest' }
77+ - { cxx: clang++, image: '2021', hou: '19_5', build: 'Release', components: 'core,hou,bin,view,render,python,test,axcore,axbin,axtest' }
78+ # - { cxx: clang++, image: '2022', hou: '20_0', build: 'Debug', components: 'core,hou' }
79+ # - { cxx: g++, image: '2022', hou: '20_0', build: 'Release', components: 'core,hou' }
7780 fail-fast : false
7881 steps :
7982 - uses : actions/checkout@v3
@@ -82,19 +85,18 @@ jobs:
8285 run : ./ci/install_pybind11.sh 2.10.0
8386 - name : timestamp
8487 id : timestamp
85- shell : bash
86- run : echo "::set-output name=timestamp::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
88+ run : echo "timestamp=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
8789 - name : ccache
8890 # don't use ccache for debug builds
8991 if : matrix.config.build == 'Release'
9092 id : ccache
91- uses : actions/cache@v2
93+ uses : actions/cache@v3
9294 with :
9395 path : /tmp/ccache
9496 key : linux-vfx-hou${{ matrix.config.hou }}-${{ matrix.config.image }}-${{ matrix.config.cxx }}-${{ steps.timestamp.outputs.timestamp }}
9597 restore-keys : linux-vfx-hou${{ matrix.config.hou }}-${{ matrix.config.image }}-${{ matrix.config.cxx }}-
9698 - name : fetch_houdini
97- uses : actions/cache@v2
99+ uses : actions/cache@v3
98100 with :
99101 path : hou
100102 key : dummy-houdini${{ matrix.config.hou }}-${{ steps.timestamp.outputs.timestamp }}
@@ -110,7 +112,6 @@ jobs:
110112 cp hou/hou.tar.gz $HOME/houdini_install/hou.tar.gz
111113 cd $HOME/houdini_install && tar -xzf hou.tar.gz && cd -
112114 - name : build
113- shell : bash
114115 run : |
115116 export HFS="$HOME/houdini_install/hou"
116117 export HDSO="${HFS}/dsolib"
@@ -121,7 +122,6 @@ jobs:
121122 # Keep ccache light by stripping out any caches not accessed in the last day
122123 - name : ccache_clean
123124 if : matrix.config.build == 'Release'
124- shell : bash
125125 run : ccache --evict-older-than 1d
126126 # Delete the houdini tarball so that this dummy cache occupies no space
127127 - name : delete_hou
0 commit comments