|
16 | 16 | shared: [""] |
17 | 17 | include: |
18 | 18 | - cxx: g++-4.9 |
19 | | - - cxx: clang++-3.6 |
20 | 19 | - cxx: g++-11 |
21 | 20 | build_type: Debug |
22 | 21 | std: 14 |
|
37 | 36 | build_type: Release |
38 | 37 | std: 23 |
39 | 38 | install: sudo apt install g++-14 |
| 39 | + gen: -G Ninja |
| 40 | + - cxx: clang++-3.6 |
40 | 41 | - cxx: clang++-11 |
41 | 42 | build_type: Debug |
42 | 43 | std: 17 |
|
64 | 65 | std: 20 |
65 | 66 | cxxflags: -stdlib=libc++ |
66 | 67 | install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev |
| 68 | + gen: -G Ninja |
67 | 69 |
|
68 | 70 | steps: |
69 | 71 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 |
@@ -174,29 +176,16 @@ jobs: |
174 | 176 | CXX: ${{matrix.cxx}} |
175 | 177 | CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}} |
176 | 178 | run: | |
177 | | - cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ |
178 | | - -DCMAKE_CXX_STANDARD=${{matrix.std}} \ |
179 | | - -DCMAKE_CXX_VISIBILITY_PRESET=hidden \ |
180 | | - -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \ |
181 | | - -DFMT_DOC=OFF -DFMT_PEDANTIC=ON -DFMT_WERROR=ON \ |
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}} \ |
| 179 | + cmake ${{matrix.gen}} \ |
| 180 | + -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ |
192 | 181 | -DCMAKE_CXX_STANDARD=${{matrix.std}} \ |
193 | | - -DCMAKE_CXX_EXTENSIONS=OFF \ |
194 | | - -G Ninja \ |
195 | 182 | -DCMAKE_CXX_VISIBILITY_PRESET=hidden \ |
196 | 183 | -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \ |
197 | 184 | -DFMT_DOC=OFF -DFMT_PEDANTIC=ON \ |
198 | | - ${{matrix.fuzz}} ${{matrix.shared}} $GITHUB_WORKSPACE |
199 | | - if: ${{ matrix.cxx == 'clang++-20' || matrix.cxx == 'g++-14' }} |
| 185 | + -DFMT_WERROR=ON \ |
| 186 | + ${{matrix.fuzz}} \ |
| 187 | + ${{matrix.shared}} \ |
| 188 | + $GITHUB_WORKSPACE |
200 | 189 |
|
201 | 190 | - name: Build |
202 | 191 | working-directory: ${{runner.workspace}}/build |
|
0 commit comments