6666 path : .tox/py311-test/tmp/
6767 - name : set-environment
6868 run : |
69- echo NUNAVUT_MAJOR_MINOR_VERSION=$(./version_check_nunavut --major-minor-version -only) >> $GITHUB_ENV
69+ echo NUNAVUT_MAJOR_MINOR_VERSION=$(./src/nunavut/_version.py --major-minor-only) >> $GITHUB_ENV
7070 - name : verify tox artifacts
7171 run : ls -R
7272 working-directory : .tox
@@ -133,51 +133,27 @@ jobs:
133133 - name : python3.${{ matrix.python3-version }} test
134134 run : tox -e py3${{ matrix.python3-version }}-nnvg,py3${{ matrix.python3-version }}-test
135135
136- language-verification-c :
136+ language-verification-c-cpp :
137137 runs-on : ubuntu-latest
138138 needs : test
139139 container : ghcr.io/opencyphal/toolshed:ts24.4.3
140140 strategy :
141141 matrix :
142- architecture : [native32, native]
142+ architecture : [native32, native, arm-none-eabi ]
143143 compiler : [gcc, clang]
144+ language : [c-11, c-11-arr-override, cpp-14, cpp-17, cpp-20]
144145 exclude :
145146 - architecture : native32
146147 compiler : clang
147- steps :
148- - uses : actions/checkout@v4
149- with :
150- submodules : true
151- - name : verify
152- # We're using Ninja multi-config so we only have to configure once for all build types
153- working-directory : verification
154- run : |
155- cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS=--embed-auditing-info --preset config-${{ matrix.compiler }}-${{ matrix.architecture }}-c-11
156- cmake --build --preset build-${{ matrix.compiler }}-${{ matrix.architecture }}-c-11-release
157- cmake --build --preset build-${{ matrix.compiler }}-${{ matrix.architecture }}-c-11-debugasan
158-
159- language-verification-cpp :
160- runs-on : ubuntu-latest
161- needs : test
162- container : ghcr.io/opencyphal/toolshed:ts24.4.3
163- strategy :
164- matrix :
165- architecture : [native32, native]
166- compiler : [gcc, clang]
167- language : [cpp-14, cpp-17, cpp-20]
168- exclude :
169- - architecture : native32
148+ - architecture : arm-none-eabi
170149 compiler : clang
171150 steps :
172151 - uses : actions/checkout@v4
173152 with :
174153 submodules : true
175154 - name : verify
176155 working-directory : verification
177- run : |
178- cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS=--embed-auditing-info --preset config-${{ matrix.compiler }}-${{ matrix.architecture }}-${{ matrix.language }}
179- cmake --build --preset build-${{ matrix.compiler }}-${{ matrix.architecture }}-${{ matrix.language }}-debugasan
180- cmake --build --preset build-${{ matrix.compiler }}-${{ matrix.architecture }}-${{ matrix.language }}-release
156+ run : cmake --workflow --preset workflow-${{ matrix.compiler }}-${{ matrix.architecture }}-${{ matrix.language }}
181157
182158 language-verification-c-clang-native-extra :
183159 runs-on : ubuntu-latest
@@ -190,8 +166,8 @@ jobs:
190166 - name : verify
191167 working-directory : verification
192168 run : |
193- cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS="--enable-override-variable-array-capacity;--embed-auditing-info" --preset config -clang-native-c-11
194- cmake --build --preset build-clang-native-c-11-debugcov --target cov_all
169+ cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS="--enable-override-variable-array-capacity;--embed-auditing-info" --preset configure -clang-native-c-11
170+ cmake --build --preset build-DebugCov- clang-native-c-11 --target cov_all
195171 - name : upload-verification-coverage-reports
196172 uses : actions/upload-artifact@v4
197173 with :
@@ -209,8 +185,8 @@ jobs:
209185 - name : verify
210186 working-directory : verification
211187 run : |
212- cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS="--enable-override-variable-array-capacity;--embed-auditing-info" --preset config -clang-native-cpp-20
213- cmake --build --preset build-clang-native-cpp-20-debugcov --target cov_all
188+ cmake -DNUNAVUT_EXTRA_GENERATOR_ARGS="--enable-override-variable-array-capacity;--embed-auditing-info" --preset configure -clang-native-cpp-20
189+ cmake --build --preset build-DebugCov- clang-native-cpp-20 --target cov_all
214190 - name : upload-verification-coverage-reports
215191 uses : actions/upload-artifact@v4
216192 with :
0 commit comments