Skip to content

Commit

Permalink
Merge pull request #214 from poacpm/improve/macos-ci
Browse files Browse the repository at this point in the history
Improve macOS CI
  • Loading branch information
ken-matsui authored Nov 30, 2020
2 parents ca5a3b1 + d297278 commit 95c8676
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ jobs:
brew install libgit2 poacpm/tap/toml11 fmt
brew install --HEAD poacpm/tap/clipp
- run: mkdir build

- name: Build Poac
run: |
mkdir build
cd build
cmake -Dpoac_BUILD_TEST=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
make
run: cmake -Dpoac_BUILD_TEST=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. && make
working-directory: build

- name: Test Poac
run: cd build && ctest --output-on-failure --verbose
# - name: Print help # TODO
# run: poac help
run: ctest --output-on-failure --verbose
working-directory: build

- name: Print help
run: ./poac help
working-directory: build

0 comments on commit 95c8676

Please sign in to comment.