update Catch2 version #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Tests on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-24.04, windows-2022, macos-14] | |
steps: | |
- name: Install Pre-requisits on ubuntu | |
if: ${{ startsWith(matrix.os, 'ubuntu') }} | |
run: | | |
sudo apt-get -qy update | |
sudo apt-get install g++ ninja-build cmake | |
ninja --version | |
cmake --version | |
g++ --version | |
- name: Install dependencies on windows | |
if: ${{ startsWith(matrix.os, 'windows') }} | |
run: | | |
choco install ninja cmake | |
ninja --version | |
cmake --version | |
- uses: actions/checkout@v4 | |
- name: cmake build | |
run: | | |
mkdir build | |
cmake -Bbuild -S. | |
cmake --build build/ --target hyperloglog_tests | |
- name: Run tests | |
working-directory: build | |
run: ctest -C Debug --output-on-failure |