Skip to content

Commit

Permalink
ci: Update Catch2 used in test matrix to version 3.4.0 to be consiste…
Browse files Browse the repository at this point in the history
…nt with the version used in coverage test reporting
  • Loading branch information
selimnairb committed Nov 16, 2023
1 parent baf0271 commit 4315169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ sudo apt-get update -y
sudo apt-get install -y cmake g++ ninja-build libxml2-dev swig4.0 zlib1g-dev libproj-dev
# Install Catch2 version 3 (Ubuntu 22.04 only packages version 2)
cd /tmp
wget https://github.com/catchorg/Catch2/archive/v3.0.1.tar.gz
echo "8c4173c68ae7da1b5b505194a0c2d6f1b2aef4ec1e3e7463bde451f26bbaf4e7 v3.0.1.tar.gz" > catch2.sum
wget https://github.com/catchorg/Catch2/archive/refs/tags/v3.4.0.tar.gz
echo "122928b814b75717316c71af69bd2b43387643ba076a6ec16e7882bfb2dfacbb v3.4.0.tar.gz" > catch2.sum
shasum -a 256 -c catch2.sum
tar xf v3.0.1.tar.gz
cd Catch2-3.0.1
tar xf v3.4.0.tar.gz
cd Catch2-3.4.0
cmake -B build -G Ninja -S . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_TESTING:BOOL=OFF
sudo cmake --build build --target install

Expand Down

0 comments on commit 4315169

Please sign in to comment.