summaryrefslogtreecommitdiffstats
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index bdec6c9..d961582 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -11,7 +11,7 @@ jobs:
runs-on: windows-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Install dependencies
run: choco install re2c
@@ -19,10 +19,12 @@ jobs:
- name: Build ninja
shell: bash
run: |
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --parallel --config Release
- ctest -vv
+ cmake -DCMAKE_BUILD_TYPE=Release -B build
+ cmake --build build --parallel --config Release
+
+ - name: Test ninja
+ run: ctest -vv
+ working-directory: build
- name: Create ninja archive
shell: bash