Cleanup CI

This commit is contained in:
Victor Zverovich 2026-04-02 15:36:00 -07:00
parent 579587bee3
commit 907f002f8e
3 changed files with 14 additions and 3 deletions

View File

@ -7,6 +7,11 @@ permissions:
jobs: jobs:
build: build:
name: >-
${{matrix.cxx}} c++${{matrix.std}} ${{matrix.build_type}}
${{matrix.gen}} ${{matrix.fuzz && 'Fuzz' || ''}}
${{matrix.shared && 'Shared' || ''}}
${{matrix.cxxflags_extra && 'Sanitize' || ''}}
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
@ -36,7 +41,7 @@ jobs:
build_type: Release build_type: Release
std: 23 std: 23
install: sudo apt install g++-14 install: sudo apt install g++-14
gen: -G Ninja gen: Ninja
- cxx: clang++-3.6 - cxx: clang++-3.6
- cxx: clang++-11 - cxx: clang++-11
build_type: Debug build_type: Debug
@ -65,7 +70,7 @@ jobs:
std: 20 std: 20
cxxflags: -stdlib=libc++ cxxflags: -stdlib=libc++
install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev
gen: -G Ninja gen: Ninja
steps: steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
@ -176,7 +181,7 @@ jobs:
CXX: ${{matrix.cxx}} CXX: ${{matrix.cxx}}
CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}} CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}}
run: | run: |
cmake ${{matrix.gen}} \ cmake ${{matrix.gen && '-G' || ''}} ${{matrix.gen}} \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} \ -DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_CXX_VISIBILITY_PRESET=hidden \ -DCMAKE_CXX_VISIBILITY_PRESET=hidden \

View File

@ -7,6 +7,9 @@ permissions:
jobs: jobs:
build: build:
name: >-
c++${{matrix.std }} ${{ matrix.build_type}}
${{matrix.shared && 'Shared' || ''}}
strategy: strategy:
matrix: matrix:
os: [macos-14] os: [macos-14]

View File

@ -7,6 +7,9 @@ permissions:
jobs: jobs:
build: build:
name: >-
${{matrix.platform}} ${{matrix.toolset}} c++${{matrix.standard}}
${{matrix.build_type}} ${{matrix.shared && 'Shared' || ''}}
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
strategy: strategy:
matrix: matrix: