summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2021-02-11 17:18:02 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2021-02-12 10:08:55 (GMT)
commitb0662970ba2cc69a64d7d2ebe3e07dcef948dabe (patch)
tree9c940e1655e8db27a09fb2e861536c54d9fbfde3
parenta999fdb0d83013d4f93db9fbf21e6f9b15fc6ca3 (diff)
downloadNinja-b0662970ba2cc69a64d7d2ebe3e07dcef948dabe.zip
Ninja-b0662970ba2cc69a64d7d2ebe3e07dcef948dabe.tar.gz
Ninja-b0662970ba2cc69a64d7d2ebe3e07dcef948dabe.tar.bz2
GitHub Actions: Test both Debug and Release with MSVC
-rw-r--r--.github/workflows/windows.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 04fc2f6..e4fe7bd 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -19,10 +19,15 @@ jobs:
- name: Build ninja
shell: bash
run: |
- cmake -DCMAKE_BUILD_TYPE=Release -B build
+ cmake -Bbuild
+ cmake --build build --parallel --config Debug
cmake --build build --parallel --config Release
- - name: Test ninja
+ - name: Test ninja (Debug)
+ run: .\ninja_test.exe
+ working-directory: build/Debug
+
+ - name: Test ninja (Release)
run: .\ninja_test.exe
working-directory: build/Release