3030 # download Houdini and cache it. The secrets are used in download_houdini.py
3131 checksecret :
3232 name : Verify Houdini Secrets
33- runs-on : ubuntu-latest
33+ runs-on : ubuntu-20.04-8c-32g-300h
3434 outputs :
3535 HOUDINI_SECRETS : ${{ steps.check.outputs.HOUDINI_SECRETS }}
3636 steps :
@@ -44,18 +44,17 @@ jobs:
4444 run : echo "HOUDINI_CLIENT_ID and HOUDINI_SECRET_KEY GitHub Action Secrets needs to be set to install Houdini builds"
4545
4646 # download the latest production version of Houdini X, strip out headers,
47- # libraries and binaries required for building OpenVDB and if the build
48- # succeeds, put it into the GitHub Actions cache
47+ # libraries and binaries required for building OpenVDB and put it into
48+ # the GitHub Actions cache
4949 linux_houdini :
5050 needs : [checksecret]
51- # if: |
52- # (needs.checksecret.outputs.HOUDINI_SECRETS == 'true' ||
53- # github.repository_owner == 'AcademySoftwareFoundation') &&
54- # (github.event_name != 'workflow_dispatch' ||
55- # github.event.inputs.type == 'all' ||
56- # github.event.inputs.type == 'houdini')
57- if : ${{ false }} # disable for now
58- runs-on : ubuntu-latest
51+ if : |
52+ (needs.checksecret.outputs.HOUDINI_SECRETS == 'true' ||
53+ github.repository_owner == 'AcademySoftwareFoundation') &&
54+ (github.event_name != 'workflow_dispatch' ||
55+ github.event.inputs.type == 'all' ||
56+ github.event.inputs.type == 'houdini')
57+ runs-on : ubuntu-20.04-8c-32g-300h
5958 name : linux-houdini:${{ matrix.config.houdini_version }}
6059 env :
6160 CXX : clang++
8281 mkdir $HOME/houdini_install
8382 cp hou/hou.tar.gz $HOME/houdini_install/hou.tar.gz
8483 cd $HOME/houdini_install && tar -xzf hou.tar.gz && cd -
85- - name : build
86- shell : bash
87- run : >
88- cd $HOME/houdini_install/hou && source houdini_setup_bash && cd - &&
89- ./ci/build.sh -v
90- --build-type=Release
91- --components="core,hou,bin,view,render,python,test,axcore,axbin,axtest"
92- --cargs=\"-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON -DDISABLE_CMAKE_SEARCH_PATHS=ON -DOPENVDB_BUILD_HOUDINI_ABITESTS=ON -DOPENVDB_HOUDINI_INSTALL_PREFIX=/tmp\"
93- - name : test
94- run : cd build && ctest -V
9584 - name : write_houdini_cache
9685 uses : actions/cache@v2
9786 with :
10998 github.event_name != 'workflow_dispatch' ||
11099 github.event.inputs.type == 'all' ||
111100 github.event.inputs.type == 'extra'
112- runs-on : ubuntu-latest
101+ runs-on : ubuntu-20.04-8c-32g-300h
113102 name : linux-extra:${{ matrix.config.name }}
114103 container :
115104 # Can bump clang when AX is compatible with LLVM14
@@ -177,7 +166,7 @@ jobs:
177166 github.event_name != 'workflow_dispatch' ||
178167 github.event.inputs.type == 'all' ||
179168 github.event.inputs.type == 'ax'
180- runs-on : ubuntu-latest
169+ runs-on : ubuntu-20.04-8c-32g-300h
181170 name : >
182171 linux-ax:${{ matrix.config.image }}-cxx:${{ matrix.config.cxx }}-${{ matrix.config.build }}
183172 container :
@@ -188,15 +177,15 @@ jobs:
188177 matrix :
189178 config :
190179 # Unified
191- - { image: '2022-clang14', cxx: 'clang++', build: 'Release', j: '2 ', components: 'core,bin,axcore,axbin,axtest' }
192- - { image: '2022-clang14', cxx: 'g++', build: 'Release', j: '1 ', components: 'core,bin,axcore,axbin,axtest' }
193- - { image: '2022-clang13', cxx: 'clang++', build: 'Release', j: '2 ', components: 'core,bin,axcore,axbin,axtest' }
194- - { image: '2022-clang13', cxx: 'g++', build: 'Release', j: '1 ', components: 'core,bin,axcore,axbin,axtest' }
180+ - { image: '2022-clang14', cxx: 'clang++', build: 'Release', j: '8 ', components: 'core,bin,axcore,axbin,axtest' }
181+ - { image: '2022-clang14', cxx: 'g++', build: 'Release', j: '8 ', components: 'core,bin,axcore,axbin,axtest' }
182+ - { image: '2022-clang13', cxx: 'clang++', build: 'Release', j: '8 ', components: 'core,bin,axcore,axbin,axtest' }
183+ - { image: '2022-clang13', cxx: 'g++', build: 'Release', j: '8 ', components: 'core,bin,axcore,axbin,axtest' }
195184 # Standalone
196- - { image: '2021-clang10', cxx: 'clang++', build: 'Release', j: '2 ', components: 'core' }
197- - { image: '2022-clang11', cxx: 'clang++', build: 'Debug', j: '2 ', components: 'core' }
198- - { image: '2022-clang11', cxx: 'clang++', build: 'Release', j: '2 ', components: 'core' }
199- - { image: '2022-clang11', cxx: 'g++', build: 'Release', j: '1 ', components: 'core' }
185+ - { image: '2021-clang10', cxx: 'clang++', build: 'Release', j: '8 ', components: 'core' }
186+ - { image: '2022-clang11', cxx: 'clang++', build: 'Debug', j: '8 ', components: 'core' }
187+ - { image: '2022-clang11', cxx: 'clang++', build: 'Release', j: '8 ', components: 'core' }
188+ - { image: '2022-clang11', cxx: 'g++', build: 'Release', j: '8 ', components: 'core' }
200189 fail-fast : false
201190 steps :
202191 - uses : actions/checkout@v3
@@ -270,7 +259,7 @@ jobs:
270259 github.event_name != 'workflow_dispatch' ||
271260 github.event.inputs.type == 'all' ||
272261 github.event.inputs.type == 'ax'
273- runs-on : windows-2019
262+ runs-on : windows-2022-8c-32g-300h
274263 name : windows-vc:${{ matrix.config.vc }}-type:${{ matrix.config.build }}
275264 env :
276265 VCPKG_DEFAULT_TRIPLET : ${{ matrix.config.vc }}
@@ -307,7 +296,7 @@ jobs:
307296 --config=${{ matrix.config.build }}
308297 --components="${{ matrix.config.components }}"
309298 --cargs=\'
310- -A x64 -G \"Visual Studio 16 2019 \"
299+ -A x64 -G \"Visual Studio 17 2022 \"
311300 -DVCPKG_TARGET_TRIPLET=${VCPKG_DEFAULT_TRIPLET}
312301 -DCMAKE_TOOLCHAIN_FILE=\"${VCPKG_INSTALLATION_ROOT}\\scripts\\buildsystems\\vcpkg.cmake\"
313302 -DMSVC_COMPRESS_PDB=ON
@@ -335,7 +324,7 @@ jobs:
335324 github.event_name != 'workflow_dispatch' ||
336325 github.event.inputs.type == 'all' ||
337326 github.event.inputs.type == 'blosc'
338- runs-on : ubuntu-latest
327+ runs-on : ubuntu-20.04-8c-32g-300h
339328 name : linux-blosc:${{ matrix.blosc }}
340329 container :
341330 image : aswf/ci-base:2021
0 commit comments