Skip to content

Merge pull request #39 from NTD-Modelling-Consortium/main #137

Merge pull request #39 from NTD-Modelling-Consortium/main

Merge pull request #39 from NTD-Modelling-Consortium/main #137

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 .