Skip to content

Commit 4bdc8c8

Browse files
committed
ci: use runner image gcc
1 parent 63096e3 commit 4bdc8c8

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
os: [ubuntu-latest, macos-latest]
27+
os: [ubuntu-22.04]
2828
shared: [true, false]
29-
gcc: [8, 11]
29+
gcc: [9, 11]
3030
mpi: [mpich, openmpi]
31-
exclude:
31+
include:
3232
- os: macos-latest
33-
mpi: mpich
34-
- os: macos-latest
35-
gcc: 8
33+
mpi: openmpi
34+
gcc: 11
3635

3736
runs-on: ${{ matrix.os }}
3837
env:
@@ -52,13 +51,11 @@ jobs:
5251
if: runner.os == 'Linux'
5352
run: |
5453
sudo apt update
55-
sudo apt install --no-install-recommends gcc-${{ matrix.gcc }} gfortran-${{ matrix.gcc}} ninja-build libhdf5-${{ matrix.mpi }}-dev hdf5-tools lib${{ matrix.mpi }}-dev
54+
sudo apt install --no-install-recommends ninja-build libhdf5-${{ matrix.mpi }}-dev hdf5-tools lib${{ matrix.mpi }}-dev
5655
5756
- name: Install HDF5-${{ matrix.mpi }} (MacOS)
5857
if: runner.os == 'macOS'
59-
run: |
60-
brew install hdf5-mpi ninja ${{ matrix.mpi }}
61-
brew reinstall gcc
58+
run: brew install hdf5-mpi ninja ${{ matrix.mpi }}
6259

6360
- uses: actions/checkout@v3
6461

0 commit comments

Comments
 (0)