#367 update stumpless_element_to_string format #710
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Windows" | |
on: | |
push: | |
pull_request: | |
branches: | |
- latest | |
env: | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
jobs: | |
windows-debug: | |
name: "windows, debug" | |
runs-on: "windows-2019" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: | | |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Debug . | |
- name: Build | |
run: | | |
cmake --build . --config Debug | |
- name: Test | |
run: | | |
cmake --build . --config Debug --target check | |
- name: Thread Safety Tests | |
run: | | |
cmake --build . --config Debug --target check-thread-safety | |
- name: Run Examples | |
run: | | |
cmake --build . --config Debug --target examples | |
windows-release: | |
name: "windows, release" | |
runs-on: "windows-2019" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: | | |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release . | |
- name: Build | |
run: | | |
cmake --build . --config Release | |
- name: Test | |
run: | | |
cmake --build . --config Release --target check | |
- name: Thread Safety Tests | |
run: | | |
cmake --build . --config Release --target check-thread-safety | |
- name: Run Examples | |
run: | | |
cmake --build . --config Release --target examples | |
windows-release-static: | |
name: "windows, release, static library" | |
runs-on: "windows-2019" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: | | |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF . | |
- name: Build | |
run: | | |
cmake --build . --config Release | |
- name: Test | |
run: | | |
cmake --build . --config Release --target check | |
- name: Thread Safety Tests | |
run: | | |
cmake --build . --config Release --target check-thread-safety | |
- name: Run Examples | |
run: | | |
cmake --build . --config Release --target examples | |
windows-all-disabled: | |
name: "windows, all features disabled" | |
runs-on: "windows-2019" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: | | |
cmake -G "Visual Studio 16 2019" -DENABLE_JOURNALD_TARGETS=OFF -DENABLE_NETWORK_TARGETS=OFF -DENABLE_SOCKET_TARGETS=OFF -DCMAKE_BUILD_TYPE=Release -DENABLE_THREAD_SAFETY=OFF . | |
- name: Build | |
run: | | |
cmake --build . --config Release | |
- name: Test | |
run: | | |
cmake --build . --config Release --target check | |
- name: Run Examples | |
run: | | |
cmake --build . --config Release --target examples | |
windows-cpp: | |
name: "windows, with c++" | |
runs-on: "windows-2019" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-ruby@v1.1.3 | |
- name: Install Gems | |
run: | | |
gem install bundler | |
bundle install | |
- name: Configure | |
run: | | |
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DENABLE_CPP=ON . | |
- name: Build | |
run: | | |
cmake --build . --config Release | |
- name: Test | |
run: | | |
cmake --build . --config Release --target check-cpp | |
- name: Run Example | |
run: | | |
cmake --build . --config Release --target run-example-cpp |