Merge pull request #39 from NTD-Modelling-Consortium/main #137
Workflow file for this run
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: Check project compiles on various OSs | |
on: [push] | |
jobs: | |
Ubuntu-latest: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
sudo apt install gsl-bin libgsl-dev | |
mkdir build && cd build/ | |
cmake .. -DBUILD_TESTS=OFF | |
cmake --build . | |
Macos-latest: | |
strategy: | |
matrix: | |
os: [macos-13, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
brew install gsl | |
mkdir build && cd build/ | |
cmake .. -DBUILD_TESTS=OFF | |
cmake --build . |