From 2b5cc6df9f427e8095b79c713c3ef5a0918e299d Mon Sep 17 00:00:00 2001 From: Rupert Nash Date: Mon, 11 Apr 2022 13:32:06 +0100 Subject: [PATCH] install catch in CI --- .github/workflows/gmy-tool.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/gmy-tool.yml b/.github/workflows/gmy-tool.yml index 880a1cc1e..395d964bc 100644 --- a/.github/workflows/gmy-tool.yml +++ b/.github/workflows/gmy-tool.yml @@ -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 @@ -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: