Skip to content

Commit 038439f

Browse files
committed
Fix failing Clang builds on GitHub Actions (nonstd-lite issue 75, thanks @striezel)
1 parent 24d2d10 commit 038439f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
version: [11, 12]
50+
include:
51+
- version: 11
52+
os: 'ubuntu-22.04'
53+
- version: 12
54+
os: 'ubuntu-22.04'
55+
- version: 17
56+
os: 'ubuntu-24.04'
5157

52-
runs-on: ubuntu-latest
58+
runs-on: ${{ matrix.os }}
5359

5460
steps:
5561
- uses: actions/checkout@v4
@@ -61,7 +67,7 @@ jobs:
6167
env:
6268
CXX: clang-${{ matrix.version }}
6369
run: cmake -S . -B build
64-
-D CMAKE_CXX_COMPILER=clang++
70+
-D CMAKE_CXX_COMPILER=clang++-${{ matrix.version }}
6571
-D CMAKE_BUILD_TYPE:STRING=Release
6672
-D ${{ env.PROJECT }}_OPT_SELECT_NONSTD=ON
6773
-D ${{ env.PROJECT }}_OPT_BUILD_TESTS=ON

0 commit comments

Comments
 (0)