Skip to content

Commit 263671d

Browse files
author
Tsung-Wei Huang
committed
added debug test to windows action
1 parent 5651ae4 commit 263671d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/windows.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ name: Windows
33
on: [push, pull_request]
44

55
jobs:
6+
debug-test-cpp17:
7+
runs-on: windows-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: cmake
11+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_BENCHMARKS=ON -DCMAKE_BUILD_PROFILER=ON -DCMAKE_CXX_STANDARD=17
12+
- name: build
13+
run: cmake --build build --parallel 10
14+
- name: test
15+
run: cd build ; ctest --exclude-regex "test-unicode" --output-on-failure
16+
617
release-test-cpp17:
718
runs-on: windows-latest
819
steps:
@@ -18,6 +29,17 @@ jobs:
1829
# C++ 20 standard test:
1930
###############################################################################
2031

32+
debug-test-cpp20:
33+
runs-on: windows-latest
34+
steps:
35+
- uses: actions/checkout@v3
36+
- name: cmake
37+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=20
38+
- name: build
39+
run: cmake --build build --parallel 10
40+
- name: test
41+
run: cd build ; ctest --exclude-regex "test-unicode" --output-on-failure
42+
2143
release-test-cpp20:
2244
runs-on: windows-latest
2345
steps:

0 commit comments

Comments
 (0)