Skip to content

Commit

Permalink
Use libc++ with clang 16/17
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed Feb 27, 2024
1 parent d71315e commit 3b566a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
fail-fast: false
matrix:
sys:
- {compiler: clang, version: '17'}
- {compiler: gcc, version: '13'}
- {compiler: clang, version: '16', config-flags: '-DCMAKE_CXX_FLAGS=-stdlib=libc++'}
- {compiler: clang, version: '17', config-flags: '-DCMAKE_CXX_FLAGS=-stdlib=libc++'}
- {compiler: gcc, version: '13', config-flags: ''}

steps:

Expand Down Expand Up @@ -49,7 +50,7 @@ jobs:
cache-downloads: true

- name: Configure using CMake
run: cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON
run: cmake -G Ninja -Bbuild ${{matrix.sys.config-flags}} -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBUILD_TESTS=ON

- name: Install
working-directory: build
Expand Down

0 comments on commit 3b566a9

Please sign in to comment.