GitHub Actions: Test both Debug and Release with MSVC

This commit is contained in:
Jan Niklas Hasse
2021-02-11 18:18:02 +01:00
parent a999fdb0d8
commit b0662970ba

View File

@@ -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