@@ -200,7 +200,7 @@ jobs:
200200 cmake --build build --config Debug --target install
201201
202202 - name : Test
203- if : matrix.config.name != 'Tarball' && matrix.config.name != 'iOS'
203+ if : matrix.config.name != 'Tarball' && matrix.config.name != 'iOS' && matrix.library_mode != 'MODULE'
204204 run : |
205205 # Not available on GH actions...
206206 # if [ "$RUNNER_OS" == "Linux" ]; then
@@ -225,6 +225,7 @@ jobs:
225225 - uses : vmactions/freebsd-vm@v1
226226 with :
227227 usesh : true
228+
228229 prepare : |
229230 pkg install -y jackit boost-libs cmake git ninja
230231
@@ -235,7 +236,7 @@ jobs:
235236 env
236237 freebsd-version
237238 CMAKE_GENERATOR=
238- if [[ "${{ matrix.library_mode }}" == "MODULE" ] ]; then
239+ if [ "${{ matrix.library_mode }}" = "MODULE" ]; then
239240 CMAKE_GENERATOR=-GNinja
240241 fi
241242
@@ -250,8 +251,10 @@ jobs:
250251 -DCMAKE_INSTALL_PREFIX=install
251252
252253 cmake --build build
253- cmake --build build --target install
254- cmake --build build --target test
254+ if [ "${{ matrix.library_mode }}" != "MODULE" ]; then
255+ cmake --build build --target install
256+ cmake --build build --target test
257+ fi
255258
256259 build_debian :
257260 name : Debian ${{ matrix.distro }} ${{ matrix.library_mode }} ${{ matrix.boost && 'Boost' }}
@@ -327,6 +330,7 @@ jobs:
327330 cmake --build build --config Debug --target install
328331
329332 - name : Test
333+ if : matrix.library_mode != 'MODULE'
330334 run : |
331335 cmake --build build --config Debug --target test
332336
0 commit comments