From 8ea63a7c4c45a84cd2fa648b5f376478dee386af Mon Sep 17 00:00:00 2001 From: fpagliughi Date: Tue, 2 Jul 2024 20:39:16 -0400 Subject: [PATCH] Added GitHub CI action --- .github/workflows/cmake-multi-platform.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 8f246406..beee83cd 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -49,23 +49,25 @@ jobs: steps: - uses: actions/checkout@v4 + with: + submodules: recursive - - name: Install Catch2 v3 from Source (ubuntu) + - name: Install Catch2 v2 from Source (ubuntu) if: matrix.os == 'ubuntu-latest' run: | git clone https://github.com/catchorg/Catch2.git cd Catch2 - git checkout "v3.6.0" + git checkout "v2.13.8" mkdir build && cd build cmake .. -DBUILD_TESTING=OFF sudo cmake --build . --target install - - name: Install Catch2 v3 from Source (windows) + - name: Install Catch2 v2 from Source (windows) if: matrix.os == 'windows-latest' run: | git clone https://github.com/catchorg/Catch2.git cd Catch2 - git checkout "v3.6.0" + git checkout "v2.13.8" mkdir build && cd build cmake .. -DBUILD_TESTING=OFF -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} cmake --build . --config ${{ matrix.build_type }} --target install