Skip to content

Commit b7cbb8e

Browse files
committed
maybe this will help? IDK
1 parent e5c0a5f commit b7cbb8e

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
clang:
3636
strategy:
3737
matrix:
38-
clang: [14, 15, 16, 17, 18, 19, 20, 21, 22]
38+
clang: [14, 15, 16, 17, 18, 19]
3939
stdlib: ["libc++", "libstdc++"]
4040
standard: [17, 20]
4141
fail-fast: false
@@ -55,6 +55,29 @@ jobs:
5555
if: ${{ matrix.standard == '20' }}
5656
- run: make CXX=c++ CXX_STANDARD=17 CXXFLAGS=-stdlib=${{ matrix.stdlib }}
5757
if: ${{ matrix.standard == '17' }}
58+
clang:
59+
strategy:
60+
matrix:
61+
clang: [20, 21, 22]
62+
stdlib: ["libc++", "libstdc++"]
63+
standard: [17, 20]
64+
fail-fast: false
65+
name: "Clang ${{ matrix.clang }} (C++${{ matrix.standard }}, ${{ matrix.stdlib }})"
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: "Install Clang"
69+
uses: egor-tensin/setup-clang@v1
70+
with:
71+
version: ${{ matrix.clang }}
72+
- name: "Install libc++"
73+
if: ${{ matrix.stdlib == 'libc++' }}
74+
run: sudo apt-get install libc++abi-${{ matrix.clang }}-dev libc++-${{ matrix.clang }}-dev
75+
- uses: actions/checkout@v2
76+
- run: c++ -v
77+
- run: make CXX=c++ CXX_STANDARD=2a CXXFLAGS=-stdlib=${{ matrix.stdlib }}
78+
if: ${{ matrix.standard == '20' }}
79+
- run: make CXX=c++ CXX_STANDARD=17 CXXFLAGS=-stdlib=${{ matrix.stdlib }}
80+
if: ${{ matrix.standard == '17' }}
5881
msvc:
5982
strategy:
6083
matrix:

0 commit comments

Comments
 (0)