Skip to content

Commit 46a6a1d

Browse files
committed
ci: use installed stuff
1 parent 206e290 commit 46a6a1d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci_linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
sudo apt install -yq --no-install-recommends gfortran libhdf5-dev
2828
2929
- run: ctest -S setup.cmake -V
30+
env:
31+
FC: gfortran-7
3032

3133
meson:
3234
runs-on: ubuntu-latest
@@ -39,11 +41,11 @@ jobs:
3941
- run: pip install meson
4042
- run: |
4143
sudo apt update -yq
42-
sudo apt install -yq --no-install-recommends ninja-build gfortran libhdf5-dev
44+
sudo apt install -yq --no-install-recommends gfortran ninja-build libhdf5-dev
4345
4446
- run: meson setup build
4547
env:
46-
FC: gfortran
48+
FC: gfortran-7
4749

4850
- run: ninja -C build
4951

.github/workflows/ci_mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020

21-
- run: brew install pkg-config gcc hdf5 ninja
21+
- run: brew install pkg-config hdf5 ninja
2222

2323
- run: ctest -S setup.cmake -V
2424
env:
@@ -34,7 +34,7 @@ jobs:
3434
python-version: '3.x'
3535

3636
- run: pip install meson
37-
- run: brew install pkg-config gcc hdf5 ninja
37+
- run: brew install pkg-config hdf5 ninja
3838

3939
- run: meson setup build
4040
env:

0 commit comments

Comments
 (0)