Skip to content

Commit e898e7a

Browse files
authored
Merge pull request #1101 from kmuseth/v8.1.0_rc
V8.1.0 rc
2 parents ea786c4 + 70eac54 commit e898e7a

File tree

17 files changed

+233
-118
lines changed

17 files changed

+233
-118
lines changed

.github/workflows/ax.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'doc/**'
1111
- 'openvdb_maya/**'
1212
- 'openvdb_houdini/**'
13+
- 'pendingchanges/**'
1314
- '**.md'
1415
pull_request:
1516
branches:
@@ -19,15 +20,20 @@ on:
1920
- 'doc/**'
2021
- 'openvdb_maya/**'
2122
- 'openvdb_houdini/**'
23+
- 'pendingchanges/**'
2224
- '**.md'
2325
schedule:
2426
# run this workflow every midnight Tuesday
2527
- cron: '0 0 * * 2'
2628

2729
jobs:
2830
linux-ax-vfx:
29-
runs-on: ubuntu-16.04
30-
name: linux-ax-vfx:${{ matrix.image }}-cxx:${{ matrix.compiler }}-${{ matrix.build }}
31+
# VFX platform builds for OpenVDB AX
32+
runs-on: ubuntu-latest
33+
name: >
34+
linux-ax-vfx:${{ matrix.image }}-
35+
cxx:${{ matrix.compiler }}-
36+
${{ matrix.build }}
3137
container:
3238
image: aswf/ci-openvdb:${{ matrix.image }}
3339
env:
@@ -45,20 +51,22 @@ jobs:
4551
fail-fast: false
4652
steps:
4753
- uses: actions/checkout@v2
48-
# Build
4954
- name: build
5055
run: |
51-
./ci/build.sh ${{ matrix.build }} None ON None "core,axcore,axbin,axtest" \
52-
-DOPENVDB_CXX_STRICT=ON
53-
# Tests
56+
./ci/build.sh ${{ matrix.build }} "core,axcore,axbin,axtest" -DOPENVDB_CXX_STRICT=ON
5457
- name: test
5558
run: cd build && ctest -V
5659
- name: test_doxygen_examples
5760
run: ./ci/extract_test_examples.sh
5861

5962
linux-ax-standalone-vfx:
60-
runs-on: ubuntu-16.04
61-
name: linux-ax-standalone-vfx:${{ matrix.image }}-cxx:${{ matrix.compiler }}-llvm:${{ matrix.llvm }}-${{ matrix.build }}
63+
# VFX platform builds for OpenVDB AX against an existing VDB installation
64+
runs-on: ubuntu-latest
65+
name: >
66+
linux-ax-standalone-vfx:${{ matrix.image }}-
67+
cxx:${{ matrix.compiler }}-
68+
llvm:${{ matrix.llvm }}-
69+
${{ matrix.build }}
6270
container:
6371
image: aswf/ci-openvdb:${{ matrix.image }}
6472
env:
@@ -79,16 +87,12 @@ jobs:
7987
fail-fast: false
8088
steps:
8189
- uses: actions/checkout@v2
82-
# Build
8390
- name: vdb
8491
run: |
85-
./ci/build.sh ${{ matrix.build }} None ON None "core" -DOPENVDB_CXX_STRICT=ON
92+
./ci/build.sh ${{ matrix.build }} "core" -DOPENVDB_CXX_STRICT=ON
8693
rm -rf build
8794
- name: build
88-
run: |
89-
./ci/build.sh ${{ matrix.build }} None ON None "axcore,axbin,axtest" \
90-
-DOPENVDB_CXX_STRICT=ON
91-
# Tests
95+
run: ./ci/build.sh ${{ matrix.build }} "axcore,axbin,axtest" -DOPENVDB_CXX_STRICT=ON
9296
- name: test
9397
run: cd build && ctest -V
9498
- name: test_doxygen_examples
@@ -115,15 +119,12 @@ jobs:
115119
fail-fast: false
116120
steps:
117121
- uses: actions/checkout@v2
118-
# Setup
119122
- name: install_deps
120123
run: ./ci/install_macos_ax.sh ${{ matrix.llvm }}
121-
# Build
122124
- name: build
123125
run: |
124-
./ci/build.sh ${{ matrix.build }} None ON None "core,axcore,axbin,axtest" \
126+
./ci/build.sh ${{ matrix.build }} "core,axcore,axbin,axtest" \
125127
-DLLVM_DIR=/usr/local/opt/llvm@${{ matrix.llvm }}/lib/cmake/llvm
126-
# Tests
127128
- name: test
128129
run: cd build && ctest -V
129130
- name: test_doxygen_examples

.github/workflows/build.yml

Lines changed: 61 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- 'openvdb_maya/**'
1212
- 'openvdb_houdini/**'
1313
- 'openvdb_ax/**'
14+
- 'pendingchanges/**'
1415
- '**.md'
1516
pull_request:
1617
branches:
@@ -21,6 +22,7 @@ on:
2122
- 'openvdb_maya/**'
2223
- 'openvdb_houdini/**'
2324
- 'openvdb_ax/**'
25+
- 'pendingchanges/**'
2426
- '**.md'
2527
schedule:
2628
# run this workflow every day at 7am UTC
@@ -31,38 +33,46 @@ on:
3133

3234
jobs:
3335
linux-vfx:
34-
runs-on: ubuntu-16.04
35-
name: linux-vfx:${{ matrix.config.image }}-abi:${{ matrix.config.abi }}-cxx:${{ matrix.config.cxx }}-type:${{ matrix.config.build }}
36+
# VFX platform jobs. These are run on the appropriate CentOS images from
37+
# the provided ASWF docker containers
38+
runs-on: ubuntu-latest
39+
name: >
40+
linux-vfx:${{ matrix.config.image }}-
41+
abi:${{ matrix.config.abi }}-
42+
cxx:${{ matrix.config.cxx }}-
43+
type:${{ matrix.config.build }}
3644
container:
3745
image: aswf/ci-openvdb:${{ matrix.config.image }}
3846
env:
3947
CXX: ${{ matrix.config.cxx }}
4048
strategy:
4149
matrix:
4250
config:
43-
- { cxx: clang++, image: '2019', abi: '6', build: 'Release', test: 'ON' }
44-
- { cxx: clang++, image: '2020', abi: '7', build: 'Release', test: 'ON' }
45-
- { cxx: clang++, image: '2021', abi: '8', build: 'Release', test: 'ON' }
46-
- { cxx: clang++, image: '2021', abi: '9', build: 'Release', test: 'ON' }
47-
- { cxx: clang++, image: '2021', abi: '8', build: 'Debug', test: 'OFF' }
48-
- { cxx: g++, image: '2020', abi: '7', build: 'Release', test: 'ON' }
49-
- { cxx: g++, image: '2021', abi: '8', build: 'Release', test: 'ON' }
51+
- { cxx: clang++, image: '2019', abi: '6', build: 'Release' }
52+
- { cxx: clang++, image: '2020', abi: '7', build: 'Release' }
53+
- { cxx: clang++, image: '2021', abi: '8', build: 'Release' }
54+
- { cxx: clang++, image: '2021', abi: '9', build: 'Release' }
55+
- { cxx: clang++, image: '2021', abi: '8', build: 'Debug' }
56+
- { cxx: g++, image: '2020', abi: '7', build: 'Release' }
57+
- { cxx: g++, image: '2021', abi: '8', build: 'Release' }
5058
fail-fast: false
5159
steps:
52-
- uses: actions/checkout@v1
60+
- uses: actions/checkout@v2
5361
- name: install_gtest
5462
run: ./ci/install_gtest.sh 1.8.0
5563
- name: build
56-
run: ./ci/build.sh ${{ matrix.config.build }} ${{ matrix.config.abi }} ON None "core,python,bin,test" -DOPENVDB_CXX_STRICT=ON
64+
run: ./ci/build.sh ${{ matrix.config.build }} "core,python,bin,test" \
65+
-DOPENVDB_CXX_STRICT=ON -DOPENVDB_ABI_VERSION_NUMBER=${{ matrix.config.abi }}
5766
- name: test
58-
# Always run tests on weekly builds
67+
# Always run tests on weekly builds but skip Debug on commits as they take a while.
5968
# https://github.community/t/distinct-job-for-each-schedule/17811/2
60-
if: contains(github.event.schedule, '0 0 * * 1') || matrix.config.test == 'ON'
69+
if: contains(github.event.schedule, '0 0 * * 1') || matrix.config.build == 'Release'
6170
run: |
62-
./ci/test.sh
63-
./ci/test_install.sh
71+
cd build && ctest -V
72+
cd - && ./ci/test_install.sh
6473
6574
windows:
75+
# Windows CI. Tests static and dynamic builds with MT and MD respectively.
6676
runs-on: windows-2019
6777
name: windows-vc:${{ matrix.config.vc }}-type:${{ matrix.config.build }}
6878
env:
@@ -73,10 +83,10 @@ jobs:
7383
# static build of blosc from vcpkg does not build internal sources.
7484
# USE_STATIC_DEPENDENCIES is required for IlmBase/OpenEXR defines and
7585
# Boost as both shared and static libs are installed.
76-
- { vc: 'x64-windows-static', build: 'Release', test: 'ON', cmake: '-DOPENVDB_CORE_SHARED=OFF -DUSE_STATIC_DEPENDENCIES=ON -DBLOSC_USE_EXTERNAL_SOURCES=ON' }
77-
- { vc: 'x64-windows-static', build: 'Debug', test: 'OFF', cmake: '-DOPENVDB_CORE_SHARED=OFF -DUSE_STATIC_DEPENDENCIES=ON -DBLOSC_USE_EXTERNAL_SOURCES=ON' }
78-
- { vc: 'x64-windows', build: 'Release', test: 'ON', cmake: '-DOPENVDB_CORE_STATIC=OFF' }
79-
- { vc: 'x64-windows', build: 'Debug', test: 'OFF', cmake: '-DOPENVDB_CORE_STATIC=OFF' }
86+
- { vc: 'x64-windows-static', build: 'Release', cmake: '-DOPENVDB_CORE_SHARED=OFF -DUSE_STATIC_DEPENDENCIES=ON -DBLOSC_USE_EXTERNAL_SOURCES=ON' }
87+
- { vc: 'x64-windows-static', build: 'Debug', cmake: '-DOPENVDB_CORE_SHARED=OFF -DUSE_STATIC_DEPENDENCIES=ON -DBLOSC_USE_EXTERNAL_SOURCES=ON' }
88+
- { vc: 'x64-windows', build: 'Release', cmake: '-DOPENVDB_CORE_STATIC=OFF' }
89+
- { vc: 'x64-windows', build: 'Debug', cmake: '-DOPENVDB_CORE_STATIC=OFF' }
8090
fail-fast: false
8191
steps:
8292
- uses: actions/checkout@v2
@@ -93,89 +103,74 @@ jobs:
93103
run: ./ci/build_windows.sh ${{ matrix.config.build }} ${{ matrix.config.cmake }}
94104
- name: test
95105
shell: bash
96-
# Always run tests on weekly builds
106+
# Always run tests on weekly builds but skip Debug on commits as they take a while.
97107
# https://github.community/t/distinct-job-for-each-schedule/17811/2
98-
if: contains(github.event.schedule, '0 0 * * 1') || matrix.config.test == 'ON'
99-
run: ./ci/test.sh
100-
101-
testabi8lite:
102-
runs-on: ubuntu-16.04
103-
env:
104-
CXX: clang++
105-
container:
106-
image: aswf/ci-openvdb:2021
107-
steps:
108-
- uses: actions/checkout@v1
109-
- name: install_gtest
110-
run: ./ci/install_gtest.sh 1.10.0
111-
- name: build
112-
run: ./ci/build.sh Release 8 OFF None "core,python,bin,test" -DOPENVDB_CXX_STRICT=ON -DUSE_ZLIB=OFF
113-
- name: test
114-
run: ./ci/test.sh
108+
if: contains(github.event.schedule, '0 0 * * 1') || matrix.config.build == 'Release'
109+
run: cd build && ctest -V
115110

116-
testabi8half:
117-
runs-on: ubuntu-16.04
118-
env:
119-
CXX: clang++
111+
linux-extra:
112+
# Extra configuration tests, all run on the ASWF docker images. These run weekly
113+
# rather than on PR/merge
114+
if: contains(github.event.schedule, '0 0 * * 1')
115+
runs-on: ubuntu-latest
116+
name: linux-extra:${{ matrix.config.name }}
120117
container:
121118
image: aswf/ci-openvdb:2021
122-
steps:
123-
- uses: actions/checkout@v1
124-
- name: install_gtest
125-
run: ./ci/install_gtest.sh 1.10.0
126-
- name: build
127-
run: ./ci/build.sh Release 8 OFF None "core,python,bin,test" -DOPENVDB_CXX_STRICT=ON -DUSE_IMATH_HALF=ON
128-
- name: test
129-
run: ./ci/test.sh
130-
131-
testabi8sse:
132-
runs-on: ubuntu-16.04
133119
env:
134120
CXX: clang++
135-
container:
136-
image: aswf/ci-openvdb:2021
121+
strategy:
122+
matrix:
123+
config:
124+
- { name: 'abi8lite', cmake: '-DUSE_BLOSC=OFF -DUSE_ZLIB=OFF' }
125+
- { name: 'abi8half', cmake: '-DUSE_BLOSC=OFF -DUSE_IMATH_HALF=ON' }
126+
- { name: 'abi8sse', cmake: '-DOPENVDB_SIMD=SSE42' }
127+
- { name: 'abi8avx', cmake: '-DOPENVDB_SIMD=AVX' }
128+
fail-fast: false
137129
steps:
138-
- uses: actions/checkout@v1
130+
- uses: actions/checkout@v2
139131
- name: install_gtest
140132
run: ./ci/install_gtest.sh 1.10.0
141133
- name: build
142-
run: ./ci/build.sh Release 8 ON SSE42 "core,python,bin,test" -DOPENVDB_CXX_STRICT=ON
134+
run: ./ci/build.sh Release "core,python,bin,test" \
135+
-DOPENVDB_CXX_STRICT=ON -DOPENVDB_ABI_VERSION_NUMBER=8 ${{ matrix.config.cmake }}
143136
- name: test
144-
run: ./ci/test.sh
137+
run: cd build && ctest -V
145138

146139
testabi8gcc10:
147140
runs-on: ubuntu-20.04
148141
env:
149142
CXX: g++-10
150143
steps:
151-
- uses: actions/checkout@v1
144+
- uses: actions/checkout@v2
152145
- name: install_boost
153146
run: sudo apt-get -q install -y libboost-dev libboost-system-dev libboost-iostreams-dev
154147
- name: install_tbb
155148
run: sudo apt-get -q install -y libtbb-dev
156149
- name: install_gtest
157150
run: sudo apt-get -q install -y libgtest-dev
158151
- name: build
159-
run: ./ci/build.sh Release 8 OFF None "core,test" -DUSE_ZLIB=OFF -DCMAKE_INSTALL_PREFIX=`pwd`
152+
run: ./ci/build.sh Release "core,test" \
153+
-DUSE_BLOSC=OFF -DUSE_ZLIB=OFF -DOPENVDB_ABI_VERSION_NUMBER=8 -DCMAKE_INSTALL_PREFIX=`pwd`
160154
- name: test
161-
run: ./ci/test.sh
155+
run: cd build && ctest -V
162156

163157
testabi8clang10:
164158
runs-on: ubuntu-20.04
165159
env:
166160
CXX: clang++-10
167161
steps:
168-
- uses: actions/checkout@v1
162+
- uses: actions/checkout@v2
169163
- name: install_boost
170164
run: sudo apt-get -q install -y libboost-dev libboost-system-dev libboost-iostreams-dev
171165
- name: install_tbb
172166
run: sudo apt-get -q install -y libtbb-dev
173167
- name: install_gtest
174168
run: sudo apt-get -q install -y libgtest-dev
175169
- name: build
176-
run: ./ci/build.sh Release 8 OFF None "core,test" -DUSE_ZLIB=OFF -DCMAKE_INSTALL_PREFIX=`pwd`
170+
run: ./ci/build.sh Release "core,test" \
171+
-DUSE_BLOSC=OFF -DUSE_ZLIB=OFF -DOPENVDB_ABI_VERSION_NUMBER=8 -DCMAKE_INSTALL_PREFIX=`pwd`
177172
- name: test
178-
run: ./ci/test.sh
173+
run: cd build && ctest -V
179174

180175
testmacos1015:
181176
runs-on: macos-10.15
@@ -200,7 +195,8 @@ jobs:
200195
shell: bash
201196
# Also need to disable compiler warnings for ABI 6 and above due to
202197
# the version of clang installed
203-
run: ./ci/build.sh Release 8 ON SSE42 "core,python,bin,test" -DOPENVDB_CXX_STRICT=OFF
198+
run: ./ci/build.sh Release "core,python,bin,test" \
199+
-DOPENVDB_CXX_STRICT=OFF -DOPENVDB_ABI_VERSION_NUMBER=8 -DOPENVDB_SIMD=SSE42
204200
- name: test
205201
shell: bash
206-
run: ./ci/test.sh
202+
run: cd build && ctest -V

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ on:
88
paths-ignore:
99
- 'CHANGES'
1010
- 'openvdb_maya/**'
11+
- 'pendingchanges/**'
1112
- '**.md'
1213
pull_request:
1314
branches:
1415
- '**'
1516
paths-ignore:
1617
- 'CHANGES'
1718
- 'openvdb_maya/**'
19+
- 'pendingchanges/**'
1820
- '**.md'
1921
workflow_dispatch:
2022

@@ -34,7 +36,11 @@ jobs:
3436
- name: install_latex
3537
run: yum -y install texlive-latex-bin texlive-dvips texlive-collection-fontsrecommended texlive-collection-latexrecommended
3638
- name: build
37-
run: ./ci/build.sh Release None OFF None "core,python,doc" -DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON -DDISABLE_DEPENDENCY_VERSION_CHECKS=ON
39+
run: ./ci/build.sh Release "core,python,doc" \
40+
-DUSE_BLOSC=OFF \
41+
-DOPENVDB_CORE_STATIC=OFF \
42+
-DOPENVDB_PYTHON_WRAP_ALL_GRID_TYPES=ON \
43+
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON
3844
- name: epydoc
3945
run: |
4046
export LD_LIBRARY_PATH=/usr/local/lib64

.github/workflows/houdini.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- 'CHANGES'
1010
- 'doc/**'
1111
- 'openvdb_maya/**'
12+
- 'pendingchanges/**'
1213
- '**.md'
1314
pull_request:
1415
branches:
@@ -17,14 +18,15 @@ on:
1718
- 'CHANGES'
1819
- 'doc/**'
1920
- 'openvdb_maya/**'
21+
- 'pendingchanges/**'
2022
- '**.md'
2123
schedule:
2224
# run this workflow every day at 7am UTC
2325
- cron: '0 7 * * *'
2426

2527
jobs:
2628
linux-vfx-houdini:
27-
runs-on: ubuntu-16.04
29+
runs-on: ubuntu-latest
2830
name: hou:${{ matrix.config.hou }}-vfx:${{ matrix.config.image }}-cxx:${{ matrix.config.cxx }}
2931
container:
3032
image: aswf/ci-base:${{ matrix.config.image }}
@@ -41,7 +43,7 @@ jobs:
4143
- { cxx: g++, image: '2020', hou: '18_5', build: 'Release', extras: 'OFF', disable_checks: 'OFF' }
4244
fail-fast: false
4345
steps:
44-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v2
4547
- name: install_cmake
4648
run: ./ci/install_cmake.sh 3.12.0
4749
- name: install_gtest

.github/workflows/houdini_cache_update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
houdini18_5:
15-
runs-on: ubuntu-16.04
15+
runs-on: ubuntu-latest
1616
env:
1717
CXX: clang++
1818
container:
@@ -36,7 +36,7 @@ jobs:
3636
key: vdb1-houdini18_5-${{ hashFiles('hou/hou.tar.gz') }}
3737

3838
houdini18_0:
39-
runs-on: ubuntu-16.04
39+
runs-on: ubuntu-latest
4040
env:
4141
CXX: clang++
4242
container:

0 commit comments

Comments
 (0)