Skip to content

🛠️ Fix C++20/23/26 std::ranges problems and AppleClang-specific errors #168

🛠️ Fix C++20/23/26 std::ranges problems and AppleClang-specific errors

🛠️ Fix C++20/23/26 std::ranges problems and AppleClang-specific errors #168

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_IDK_TESTS=ON -D ZTD_IDK_EXAMPLES=ON -D ZTD_IDK_GENERATE_SINGLE=ON
cmake -B build/release "-DCMAKE_CXX_FLAGS_INIT=/Wv:18" "-DCMAKE_C_FLAGS_INIT=/Wv:18" -D ZTD_IDK_TESTS=ON -D ZTD_IDK_EXAMPLES=ON -D ZTD_IDK_GENERATE_SINGLE=ON
- 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 ../..