summaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 2a7c100..a22a9bb 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -11,7 +11,7 @@ jobs:
runs-on: macOS-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Install dependencies
run: brew install re2c p7zip cmake
@@ -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