@@ -48,6 +48,10 @@ concurrency:
4848 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
4949 cancel-in-progress : true
5050
51+ defaults :
52+ run :
53+ shell : bash
54+
5155jobs :
5256 linux-vfx :
5357 # VFX platform jobs. These are run on the appropriate CentOS images from
8589 fail-fast : false
8690 steps :
8791 - uses : actions/checkout@v3
92+ - name : pybind11
93+ # if: contains(matrix.config.image, '2023') == false
94+ run : ./ci/install_pybind11.sh 2.10.0
8895 - name : timestamp
8996 id : timestamp
90- shell : bash
9197 run : echo "::set-output name=timestamp::`date -u +'%Y-%m-%dT%H:%M:%SZ'`"
9298 - name : ccache
9399 # don't use ccache for debug builds
@@ -118,7 +124,6 @@ jobs:
118124 # Keep ccache light by stripping out any caches not accessed in the last day
119125 - name : ccache_clean
120126 if : matrix.config.build == 'Release'
121- shell : bash
122127 run : ccache --evict-older-than 1d
123128
124129 windows :
@@ -149,15 +154,14 @@ jobs:
149154 steps :
150155 - uses : actions/checkout@v3
151156 - name : path
157+ shell : pwsh
152158 run : |
153159 # note: system path must be modified in a previous step to it's use
154160 echo "$Env:VCPKG_INSTALLATION_ROOT\installed\${{ matrix.config.vc }}\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
155161 echo "${{github.workspace}}\build\openvdb\openvdb\${{ matrix.config.build }}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
156162 - name : install
157- shell : bash
158163 run : ./ci/install_windows.sh
159164 - name : build
160- shell : bash
161165 run : >
162166 ./ci/build.sh -v
163167 --config=${{ matrix.config.build }}
@@ -171,11 +175,9 @@ jobs:
171175 -DCMAKE_TOOLCHAIN_FILE=\"${VCPKG_INSTALLATION_ROOT}\\scripts\\buildsystems\\vcpkg.cmake\"
172176 \'
173177 - name : size
174- shell : bash
175178 # Print the build directy size (monitor if we're hitting runner limits)
176179 run : du -h build
177180 - name : test
178- shell : bash
179181 # Always run tests on weekly builds but skip Debug on commits as they take a while.
180182 # https://github.community/t/distinct-job-for-each-schedule/17811/2
181183 if : contains(github.event.schedule, '0 7 * * 1') || matrix.config.build == 'Release'
@@ -192,14 +194,12 @@ jobs:
192194 steps :
193195 - uses : actions/checkout@v3
194196 - name : install
195- shell : bash
196197 # brew boost-python3 installs a "Keg-only" version of python which is
197198 # not installed to PATH. We must manually provide the location of the
198199 # required python installation to CMake through a hint variable which
199200 # is exported in install_macos.sh
200201 run : ./ci/install_macos.sh
201202 - name : build
202- shell : bash
203203 # Also need to disable compiler warnings for ABI 6 and above due to
204204 # the version of clang installed
205205 run : >
@@ -208,5 +208,4 @@ jobs:
208208 --components=\"core,python,bin,view,render,test\"
209209 --cargs=\"-DOPENVDB_CXX_STRICT=OFF -DOPENVDB_ABI_VERSION_NUMBER=10 -DOPENVDB_SIMD=SSE42\"
210210 - name : test
211- shell : bash
212211 run : cd build && ctest -V
0 commit comments