Skip to content

Commit ea363b1

Browse files
committed
CI: disable builds with sanitizers with g++ on MacOS
The g++ versions available in the MacOS CI do not ship the libraries required to make sanitizers work.
1 parent e8eea2d commit ea363b1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/build-macos.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,20 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
cxx:
32-
- g++-14
33-
- clang++
3431
config:
3532
# Release build
36-
- build_type: Release
33+
- cxx: g++-14
34+
build_type: Release
35+
- cxx: clang++
36+
build_type: Release
3737
# Debug builds
38-
- build_type: Debug
38+
- cxx: g++-14
39+
build_type: Debug
40+
- cxx: clang++
41+
build_type: Debug
3942
sanitize: address
40-
- build_type: Debug
43+
- cxx: clang++
44+
build_type: Debug
4145
sanitize: undefined
4246

4347
steps:
@@ -48,7 +52,7 @@ jobs:
4852
- name: Configure CMake
4953
working-directory: ${{runner.workspace}}
5054
run: |
51-
export CXX=${{matrix.cxx}}
55+
export CXX=${{matrix.config.cxx}}
5256
cmake -H${{github.event.repository.name}} -Bbuild \
5357
-DCMAKE_CONFIGURATION_TYPES=${{matrix.config.build_type}} \
5458
-DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} \

0 commit comments

Comments
 (0)