mirror of
https://github.com/ninja-build/ninja.git
synced 2026-06-30 19:58:23 +00:00
GitHub Actions: Test both Debug and Release with MSVC
This commit is contained in:
9
.github/workflows/windows.yml
vendored
9
.github/workflows/windows.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user