31 lines
996 B
YAML
31 lines
996 B
YAML
name: Windows
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
release-test-cpp17:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: cmake
|
|
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_BENCHMARKS=ON -DCMAKE_BUILD_PROFILER=ON -DCMAKE_CXX_STANDARD=17
|
|
- name: build
|
|
run: cmake --build build --parallel 10
|
|
- name: test
|
|
run: cd build ; ctest --exclude-regex "test-unicode" --output-on-failure
|
|
|
|
###############################################################################
|
|
# C++ 20 standard test:
|
|
###############################################################################
|
|
|
|
release-test-cpp20:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: cmake
|
|
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20
|
|
- name: build
|
|
run: cmake --build build --parallel 10
|
|
- name: test
|
|
run: cd build ; ctest --exclude-regex "test-unicode" --output-on-failure
|
|
|