33
33
- ' pendingchanges/**'
34
34
- ' **.md'
35
35
schedule :
36
- # run this workflow every day at 7am UTC except Monday
37
- - cron : ' 0 7 * * 0,2-6'
38
- # run this workflow Monday 7am UTC
39
- # warning: This pattern is checked in various places below
40
- - cron : ' 0 7 * * 1'
36
+ # run this workflow every day 7am UTC
37
+ - cron : ' 0 7 * * *'
41
38
workflow_dispatch :
42
39
inputs :
43
40
type :
64
61
github.event.inputs.type == 'linux'
65
62
runs-on : ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-22.04-8c-32g-300h') || 'ubuntu-latest' }}
66
63
name : >
67
- linux-vfx:${{ matrix.config.image }}-
68
- abi:${{ matrix.config.abi }}-
69
- cxx:${{ matrix.config.cxx }}-
70
- type:${{ matrix.config.build }}
64
+ linux:${{ matrix.config.image }}-abi:${{ matrix.config.abi }}-cxx:${{ matrix.config.cxx }}-type:${{ matrix.config.build }}
71
65
container :
72
66
image : aswf/ci-openvdb:${{ matrix.config.image }}
73
67
env :
@@ -76,21 +70,16 @@ jobs:
76
70
strategy :
77
71
matrix :
78
72
config :
79
- - { cxx: clang++, image: '2024 ', abi: '12', build: 'Release', cmake: '' }
80
- - { cxx: g++, image: '2024 ', abi: '12', build: 'Release', cmake: '' }
81
- - { cxx: clang++, image: '2024 ', abi: '12', build: 'Debug', cmake: '' }
82
- - { cxx: clang++, image: '2023 ', abi: '11', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
83
- - { cxx: g++, image: '2023 ', abi: '11', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
73
+ - { cxx: clang++, image: '2025-clang19.1 ', abi: '12', build: 'Release', cmake: '' }
74
+ - { cxx: g++, image: '2025-clang19.1 ', abi: '12', build: 'Release', cmake: '' }
75
+ - { cxx: clang++, image: '2025-clang19.1 ', abi: '12', build: 'Debug', cmake: '' }
76
+ - { cxx: clang++, image: '2024-clang17.2 ', abi: '11', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
77
+ - { cxx: g++, image: '2024-clang17.2 ', abi: '11', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
84
78
fail-fast : false
85
79
steps :
86
80
- uses : actions/checkout@v3
87
81
- name : nanobind
88
82
run : ./ci/install_nanobind.sh 2.0.0
89
- - name : glfw
90
- if : contains(matrix.config.image, '2023') == true
91
- run : ./ci/install_glfw.sh 3.3.10
92
- - name : install_gtest
93
- run : ./ci/install_gtest.sh 1.15.2
94
83
- name : timestamp
95
84
id : timestamp
96
85
run : echo "timestamp=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
@@ -114,9 +103,8 @@ jobs:
114
103
-DOPENVDB_ABI_VERSION_NUMBER=${{ matrix.config.abi }}
115
104
\"
116
105
- name : test
117
- # Always run tests on weekly builds but skip Debug on commits as they take a while.
118
- # https://github.community/t/distinct-job-for-each-schedule/17811/2
119
- if : contains(github.event.schedule, '0 7 * * 1') || matrix.config.build == 'Release'
106
+ # Skip Debug on commits as they take a while.
107
+ if : github.event_name == 'schedule'|| matrix.config.build == 'Release'
120
108
run : |
121
109
cd build && ctest -V
122
110
cd - && ./ci/test_install.sh
@@ -172,9 +160,16 @@ jobs:
172
160
github.event_name != 'workflow_dispatch' ||
173
161
github.event.inputs.type == 'all' ||
174
162
github.event.inputs.type == 'mac'
175
- runs-on : macos-13 # Last macos runner befor M1 (macos-14)
163
+ runs-on : ${{ matrix.config.image }}
164
+ name : ${{ matrix.config.image }}
176
165
env :
177
166
CXX : clang++
167
+ strategy :
168
+ matrix :
169
+ config :
170
+ - { image: macos-13 } # Last macos runner befor M1 (macos-14)
171
+ - { image: macos-14 }
172
+ - { image: macos-15 }
178
173
steps :
179
174
- uses : actions/checkout@v3
180
175
- name : install
@@ -191,3 +186,4 @@ jobs:
191
186
\'
192
187
- name : test
193
188
run : cd build && ctest -V
189
+
0 commit comments