Skip to content

Commit 18238ee

Browse files
committed
Cleanup CI
1 parent 8572a24 commit 18238ee

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/linux.yml

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

88
jobs:
99
build:
10+
name: >-
11+
${{matrix.cxx}} c++${{matrix.std}} ${{matrix.build_type}}
12+
${{matrix.gen}} ${{matrix.fuzz && 'Fuzz' || ''}}
13+
${{matrix.shared && 'Shared' || ''}}
14+
${{matrix.cxxflags_extra && 'Sanitize' || ''}}
1015
runs-on: ubuntu-22.04
1116
strategy:
1217
matrix:
@@ -36,7 +41,7 @@ jobs:
3641
build_type: Release
3742
std: 23
3843
install: sudo apt install g++-14
39-
gen: -G Ninja
44+
gen: Ninja
4045
- cxx: clang++-3.6
4146
- cxx: clang++-11
4247
build_type: Debug
@@ -65,7 +70,7 @@ jobs:
6570
std: 20
6671
cxxflags: -stdlib=libc++
6772
install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev
68-
gen: -G Ninja
73+
gen: Ninja
6974

7075
steps:
7176
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
@@ -176,7 +181,7 @@ jobs:
176181
CXX: ${{matrix.cxx}}
177182
CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}}
178183
run: |
179-
cmake ${{matrix.gen}} \
184+
cmake ${{matrix.gen && '-G' || ''}} ${{matrix.gen}} \
180185
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
181186
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
182187
-DCMAKE_CXX_VISIBILITY_PRESET=hidden \

0 commit comments

Comments
 (0)