Skip to content

Commit

Permalink
Added GitHub CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagliughi committed Jul 3, 2024
1 parent a4758d8 commit 8ea63a7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ea63a7

Please sign in to comment.