Skip to content

Commit e872671

Browse files
committed
compile fpm with gfortran
1 parent 1193f21 commit e872671

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Install fpm
3333
run: |
34-
curl -L https://github.com/fortran-lang/fpm/releases/download/v0.11.0/fpm-0.11.0.F90 -o fpm.F90
34+
curl -L https://github.com/fortran-lang/fpm/releases/download/v0.12.0/fpm-0.12.0.F90 -o fpm.F90
3535
$FPM_FC -O0 fpm.F90 -o fpm
3636
3737
- name: Run tests (debug)
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install oneapi
5757
run: |
5858
sudo apt-get update
59-
sudo apt-get install -y gpg gpg-agent wget git curl
59+
sudo apt-get install -y gpg gpg-agent wget git curl gfortran
6060
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
6161
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg
6262
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] " \
@@ -71,9 +71,9 @@ jobs:
7171
7272
- name: Install fpm
7373
run: |
74-
curl -L https://github.com/fortran-lang/fpm/releases/download/v0.11.0/fpm-0.11.0.F90 -o fpm.F90
74+
curl -L https://github.com/fortran-lang/fpm/releases/download/v0.12.0/fpm-0.12.0.F90 -o fpm.F90
7575
source /opt/intel/oneapi/setvars.sh
76-
$FPM_FC -O0 fpm.F90 -o fpm
76+
gfortran -g -O0 fpm.F90 -o fpm
7777
7878
- name: Run tests (debug)
7979
run: |

0 commit comments

Comments
 (0)