|
33 | 33 | std: 23 |
34 | 34 | install: sudo apt install g++-13 |
35 | 35 | shared: -DBUILD_SHARED_LIBS=ON |
| 36 | + - cxx: g++-14 |
| 37 | + build_type: Release |
| 38 | + std: 23 |
| 39 | + install: sudo apt install g++-14 |
36 | 40 | - cxx: clang++-11 |
37 | 41 | build_type: Debug |
38 | 42 | std: 17 |
|
55 | 59 | std: 20 |
56 | 60 | cxxflags: -stdlib=libc++ |
57 | 61 | install: sudo apt install libc++-14-dev libc++abi-14-dev |
| 62 | + - cxx: clang++-20 |
| 63 | + build_type: Debug |
| 64 | + std: 20 |
| 65 | + cxxflags: -stdlib=libc++ |
| 66 | + install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev |
58 | 67 |
|
59 | 68 | steps: |
60 | 69 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 |
@@ -131,7 +140,14 @@ jobs: |
131 | 140 | - name: Add repositories for newer GCC |
132 | 141 | run: | |
133 | 142 | sudo apt-add-repository ppa:ubuntu-toolchain-r/test |
134 | | - if: ${{ matrix.cxx == 'g++-13' }} |
| 143 | + if: ${{ matrix.cxx == 'g++-13' || matrix.cxx == 'g++-14' }} |
| 144 | + |
| 145 | + - name: Install LLVM-20 |
| 146 | + run: | |
| 147 | + wget https://apt.llvm.org/llvm.sh |
| 148 | + chmod +x llvm.sh |
| 149 | + sudo ./llvm.sh 20 |
| 150 | + if: ${{ matrix.cxx == 'clang++-20' }} |
135 | 151 |
|
136 | 152 | - name: Add Ubuntu mirrors |
137 | 153 | run: | |
@@ -164,6 +180,23 @@ jobs: |
164 | 180 | -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \ |
165 | 181 | -DFMT_DOC=OFF -DFMT_PEDANTIC=ON -DFMT_WERROR=ON \ |
166 | 182 | ${{matrix.fuzz}} ${{matrix.shared}} $GITHUB_WORKSPACE |
| 183 | + if: ${{ matrix.cxx != 'clang++-20' && matrix.cxx != 'g++-14' }} |
| 184 | + |
| 185 | + - name: Configure-Modules |
| 186 | + working-directory: ${{runner.workspace}}/build |
| 187 | + env: |
| 188 | + CXX: ${{matrix.cxx}} |
| 189 | + CXXFLAGS: ${{matrix.cxxflags}} |
| 190 | + run: | |
| 191 | + cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ |
| 192 | + -DCMAKE_CXX_STANDARD=${{matrix.std}} \ |
| 193 | + -DCMAKE_CXX_EXTENSIONS=OFF \ |
| 194 | + -G Ninja \ |
| 195 | + -DCMAKE_CXX_VISIBILITY_PRESET=hidden \ |
| 196 | + -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \ |
| 197 | + -DFMT_DOC=OFF -DFMT_PEDANTIC=ON \ |
| 198 | + ${{matrix.fuzz}} ${{matrix.shared}} $GITHUB_WORKSPACE |
| 199 | + if: ${{ matrix.cxx == 'clang++-20' || matrix.cxx == 'g++-14' }} |
167 | 200 |
|
168 | 201 | - name: Build |
169 | 202 | working-directory: ${{runner.workspace}}/build |
|
0 commit comments