Skip to content

Commit 928ef42

Browse files
committed
Cleanup CI
1 parent 8572a24 commit 928ef42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77

88
jobs:
99
build:
10+
name: ${{matrix.cxx}} ${{matrix.build_type}} c++${{matrix.std}} ${{matrix.gen}}
1011
runs-on: ubuntu-22.04
1112
strategy:
1213
matrix:
@@ -36,7 +37,7 @@ jobs:
3637
build_type: Release
3738
std: 23
3839
install: sudo apt install g++-14
39-
gen: -G Ninja
40+
gen: Ninja
4041
- cxx: clang++-3.6
4142
- cxx: clang++-11
4243
build_type: Debug
@@ -65,7 +66,7 @@ jobs:
6566
std: 20
6667
cxxflags: -stdlib=libc++
6768
install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev
68-
gen: -G Ninja
69+
gen: Ninja
6970

7071
steps:
7172
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
@@ -176,7 +177,7 @@ jobs:
176177
CXX: ${{matrix.cxx}}
177178
CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}}
178179
run: |
179-
cmake ${{matrix.gen}} \
180+
cmake ${{ matrix.gen && '-G' || '' }} ${{matrix.gen}} \
180181
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
181182
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
182183
-DCMAKE_CXX_VISIBILITY_PRESET=hidden \

0 commit comments

Comments
 (0)