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:
|
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 \
|
||||||
|
|||||||
3
.github/workflows/macos.yml
vendored
3
.github/workflows/macos.yml
vendored
@ -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]
|
||||||
|
|||||||
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user