mirror of
https://github.com/fmtlib/fmt.git
synced 2026-04-30 19:09:22 +08:00
Cleanup CI
This commit is contained in:
parent
579587bee3
commit
907f002f8e
11
.github/workflows/linux.yml
vendored
11
.github/workflows/linux.yml
vendored
@ -7,6 +7,11 @@ permissions:
|
||||
|
||||
jobs:
|
||||
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
|
||||
strategy:
|
||||
matrix:
|
||||
@ -36,7 +41,7 @@ jobs:
|
||||
build_type: Release
|
||||
std: 23
|
||||
install: sudo apt install g++-14
|
||||
gen: -G Ninja
|
||||
gen: Ninja
|
||||
- cxx: clang++-3.6
|
||||
- cxx: clang++-11
|
||||
build_type: Debug
|
||||
@ -65,7 +70,7 @@ jobs:
|
||||
std: 20
|
||||
cxxflags: -stdlib=libc++
|
||||
install: sudo apt install clang-20 libc++-20-dev libc++abi-20-dev
|
||||
gen: -G Ninja
|
||||
gen: Ninja
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
||||
@ -176,7 +181,7 @@ jobs:
|
||||
CXX: ${{matrix.cxx}}
|
||||
CXXFLAGS: ${{matrix.cxxflags}} ${{matrix.cxxflags_extra}}
|
||||
run: |
|
||||
cmake ${{matrix.gen}} \
|
||||
cmake ${{matrix.gen && '-G' || ''}} ${{matrix.gen}} \
|
||||
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
||||
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
|
||||
-DCMAKE_CXX_VISIBILITY_PRESET=hidden \
|
||||
|
||||
3
.github/workflows/macos.yml
vendored
3
.github/workflows/macos.yml
vendored
@ -7,6 +7,9 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: >-
|
||||
c++${{matrix.std }} ${{ matrix.build_type}}
|
||||
${{matrix.shared && 'Shared' || ''}}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-14]
|
||||
|
||||
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
@ -7,6 +7,9 @@ permissions:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: >-
|
||||
${{matrix.platform}} ${{matrix.toolset}} c++${{matrix.standard}}
|
||||
${{matrix.build_type}} ${{matrix.shared && 'Shared' || ''}}
|
||||
runs-on: ${{matrix.os}}
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user