Skip to content

Commit

Permalink
install catch in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rupertnash committed Apr 11, 2022
1 parent f499ef9 commit 2b5cc6d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/gmy-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
env:
VMTK_VERSION: 1.4.1-rc4
VMTK_DIR: /opt/vmtk
CATCH2_VERSION: 2.13.8
steps:
- uses: actions/checkout@v2

Expand All @@ -76,6 +77,19 @@ jobs:
ninja-build \
libopengl0 libglx0 libxt6
- name: Get Catch2
uses: actions/checkout@v2
with:
repository: catchorg/Catch2
ref: v${{ env.CATCH2_VERSION }}
path: Catch2

- name: Install Catch2
working-directory: Catch2
run: |
cmake -B build -DBUILD_TESTING=OFF
sudo cmake --build build --target install
- name: pip cache
uses: actions/cache@v2
env:
Expand Down

0 comments on commit 2b5cc6d

Please sign in to comment.