File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,21 +41,22 @@ jobs:
4141
4242 - name : CMake build on macOS (force Boost)
4343 run : |
44- set -e
45- # make sure we fail when boost is requested and not available
44+ set -ex
45+ # make sure we fail when Boost is requested and not available
46+ # will fail because no package configuration is available
4647 cmake -S . -B cmake.output.boost-force -G "Unix Makefiles" -DUSE_BOOST=On
4748 exit $(($? ? 1 : 0))
4849
49- - name : CMake build on macOS (no Boost)
50- run : |
51- # make sure we fail when boost is requested and not available
52- cmake -S . -B cmake.output.boost-no -G "Unix Makefiles" -DUSE_BOOST=Off
53-
5450 # coreutils contains "nproc"
5551 - name : Install missing software on macos
5652 run : |
5753 brew install coreutils boost
5854
55+ - name : CMake build on macOS (no Boost)
56+ run : |
57+ # make sure Boost is not used when disabled even though it is available
58+ cmake -S . -B cmake.output.boost-no -G "Unix Makefiles" -DUSE_BOOST=Off
59+
5960 - name : CMake build on macOS (with Boost)
6061 run : |
6162 cmake -S . -B cmake.output.boost -G "Unix Makefiles" -DBUILD_TESTS=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
You can’t perform that action at this time.
0 commit comments