ci-win-2019
This commit is contained in:
parent
6192537d08
commit
e4d104916a
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
||||
make -j2
|
||||
ctest -j2 --output-on-failure
|
||||
|
||||
build:
|
||||
build_msmvc_2022:
|
||||
runs-on: windows-latest
|
||||
name: "Windows MSVC 2022 (C++11, Release)"
|
||||
steps:
|
||||
@ -106,3 +106,32 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: ctest --test-dir build -C Release --output-on-failure --verbose
|
||||
|
||||
build_msmvc_2019:
|
||||
runs-on: windows-2019
|
||||
name: "Windows MSVC 2019 (C++11, Release)"
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install CMake
|
||||
run: choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"' --no-progress
|
||||
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
cmake -S . -B build -G "Visual Studio 16 2019" -A x64 `
|
||||
-DCMAKE_BUILD_TYPE=Release `
|
||||
-DCMAKE_CXX_STANDARD=11 `
|
||||
-DSPDLOG_BUILD_EXAMPLE=ON `
|
||||
-DSPDLOG_BUILD_EXAMPLE_HO=ON `
|
||||
-DSPDLOG_BUILD_WARNINGS=ON `
|
||||
-DSPDLOG_BUILD_BENCH=OFF `
|
||||
-DSPDLOG_BUILD_TESTS=ON `
|
||||
-DSPDLOG_BUILD_TESTS_HO=OFF `
|
||||
-DSPDLOG_SANITIZE_ADDRESS=OFF
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build --config Release
|
||||
|
||||
- name: Run Tests
|
||||
run: ctest --test-dir build -C Release --output-on-failure --verbose
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user