Skip to content

Commit cc68c0e

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

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,29 +49,27 @@ jobs:
4949
strategy:
5050
fail-fast: false
5151
matrix:
52-
os: [ubuntu-24.04]
53-
version: [14, 16, 18]
5452
include:
55-
- os: ubuntu-22.04
56-
version: 11
57-
- os: ubuntu-22.04
58-
version: 12
53+
- version: 11
54+
os: 'ubuntu-22.04'
55+
- version: 12
56+
os: 'ubuntu-22.04'
57+
- version: 17
58+
os: 'ubuntu-24.04'
5959

6060
runs-on: ${{ matrix.os }}
6161

6262
steps:
6363
- uses: actions/checkout@v4
6464

6565
- name: Install Clang ${{ matrix.version }}
66-
run: |
67-
sudo apt-get -qq update
68-
sudo apt-get install -y clang-${{ matrix.version }}
66+
run: sudo apt-get install -y clang-${{ matrix.version }}
6967

7068
- name: Configure tests
7169
env:
7270
CXX: clang-${{ matrix.version }}
7371
run: cmake -S . -B build
74-
-D CMAKE_CXX_COMPILER=clang++
72+
-D CMAKE_CXX_COMPILER=clang++-${{ matrix.version }}
7573
-D CMAKE_BUILD_TYPE:STRING=Release
7674
-D ${{ env.PROJECT }}_OPT_SELECT_NONSTD=ON
7775
-D ${{ env.PROJECT }}_OPT_BUILD_TESTS=ON

0 commit comments

Comments
 (0)