mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Updated ci to use c++17
This commit is contained in:
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
@@ -18,7 +18,6 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- { compiler: gcc, version: 7, build_type: Release, cppstd: 11 }
|
||||
- { compiler: gcc, version: 9, build_type: Release, cppstd: 17 }
|
||||
- { compiler: gcc, version: 11, build_type: Debug, cppstd: 20 }
|
||||
- { compiler: gcc, version: 12, build_type: Release, cppstd: 20 }
|
||||
@@ -67,7 +66,7 @@ jobs:
|
||||
# -----------------------------------------------------------------------
|
||||
build_osx:
|
||||
runs-on: macOS-latest
|
||||
name: "OS X Clang (C++11, Release)"
|
||||
name: "OS X Clang (C++17, Release)"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
@@ -75,7 +74,7 @@ jobs:
|
||||
mkdir -p build && cd build
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_STANDARD=11 \
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
-DSPDLOG_BUILD_EXAMPLE=ON \
|
||||
-DSPDLOG_BUILD_EXAMPLE_HO=ON \
|
||||
-DSPDLOG_BUILD_WARNINGS=ON \
|
||||
|
Reference in New Issue
Block a user