Skip to content

πŸ‘·β€β™€οΈ Fix up release version and similar for documentation generator #191

πŸ‘·β€β™€οΈ Fix up release version and similar for documentation generator

πŸ‘·β€β™€οΈ Fix up release version and similar for documentation generator #191

Workflow file for this run

name: Windows
on: [push, pull_request]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: configure
run: |
cmake -B build/debug "-DCMAKE_CXX_FLAGS_INIT=/Wv:18" "-DCMAKE_C_FLAGS_INIT=/Wv:18" -D ZTD_TEXT_TESTS=ON -D ZTD_TEXT_EXAMPLES=ON -D ZTD_TEXT_GENERATE_SINGLE=ON -D ZTD_TEXT_BOOST.TEXT=OFF
cmake -B build/release "-DCMAKE_CXX_FLAGS_INIT=/Wv:18" "-DCMAKE_C_FLAGS_INIT=/Wv:18" -D ZTD_TEXT_TESTS=ON -D ZTD_TEXT_EXAMPLES=ON -D ZTD_TEXT_GENERATE_SINGLE=ON -D ZTD_TEXT_BOOST.TEXT=OFF
- name: build
run: |
cmake --build build/debug --config Debug
cmake --build build/release --config Release
- name: test
run: |
cd build/debug
ctest --build-config Debug
cd ../..
cd build/release
ctest --build-config Release
cd ../..