Skip to content

Commit c4d1dab

Browse files
authored
Update linux_and_macos.yml
1 parent a7f75c4 commit c4d1dab

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/linux_and_macos.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
Run-on-Ubuntu:
2323
name: test-compile on Ubuntu
24-
runs-on: [ubuntu-20.04]
24+
runs-on: [ubuntu-latest]
2525
steps:
2626
- uses: actions/checkout@v2
2727
- name: build
@@ -48,15 +48,8 @@ jobs:
4848
run: |
4949
brew info gfortran
5050
brew info open-mpi
51-
brew install gfortran
51+
brew install gfortran open-mpi fftw hdf5-mpi
5252
53-
a=`which gfortran-11`; \
54-
b=`dirname $a`; \
55-
c=$b/gfortran; \
56-
ln -s $a $c
57-
58-
brew install open-mpi fftw hdf5-mpi
59-
6053
mpicc -v
6154
mpif90 -v
6255

0 commit comments

Comments
 (0)