Skip to content

Commit f4c44d1

Browse files
committed
chore(CI): print versions, set env vars
1 parent fe2f192 commit f4c44d1

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/build-with-flang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
fpm --version
2929
$FC --version
3030
export FPM_FC=$FC
31-
export FPM_FFLAGS="-mmlir -allow-assumed-rank -O3"
31+
export FPM_FFLAGS="-O3"
3232
fpm test

.github/workflows/build-with-gfortran.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macos-13, ubuntu-24.04]
11+
fail-fast: true
12+
env:
13+
GCC_VER: 14
14+
FC: gfortran-$GCC_VER
15+
CXX: g++-$GCC-VER
1116

1217
steps:
1318
- name: Checkout code
@@ -21,8 +26,10 @@ jobs:
2126
if: contains(matrix.os, 'ubuntu')
2227
run: |
2328
sudo apt update
24-
sudo apt install -y build-essential gfortran-14 g++-14
29+
sudo apt install -y build-essential $FC $CC
2530
26-
- name: Build and Run unit tests
31+
- name: Build and Test with GCC
2732
run: |
28-
fpm test --compiler gfortran-14
33+
fpm --version
34+
$FC --version
35+
fpm test --compiler $FC

0 commit comments

Comments
 (0)