Skip to content

Commit

Permalink
Merge pull request #38 from NTD-Modelling-Consortium/install-gsl-on-u…
Browse files Browse the repository at this point in the history
…buntu

Add install GSL step to linux jobs
  • Loading branch information
thk123 authored Jan 14, 2025
2 parents 4d93f06 + e347a1b commit c7509f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-compilation-across-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ jobs:
Ubuntu-latest:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
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 .
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/format-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
cmake -B build -S . -DBUILD_TESTING=OFF
sudo cmake --build build/ --target install
cd ..
sudo apt install gsl-bin libgsl-dev
mkdir build && cd build/
cmake ..
cmake --build .
Expand Down

0 comments on commit c7509f2

Please sign in to comment.