Skip to content

Commit dae3b2c

Browse files
committed
fix(CI): more flexible fpm install
1 parent 54e258c commit dae3b2c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,13 @@ jobs:
6565
ln -sf /opt/homebrew/opt/llvm@${{ matrix.compiler-version }}/bin/flang \
6666
/opt/homebrew/bin/flang
6767
68-
- name: Install fpm
68+
- name: Install fpm (macOS, from source)
69+
if: runner.os == 'macOS'
70+
run: |
71+
brew install fpm
72+
73+
- name: Install fpm (Linux, from source)
74+
if: runner.os == 'Linux'
6975
uses: fortran-lang/setup-fpm@v7
7076
with:
7177
fpm-version: 'v0.13.0'

0 commit comments

Comments
 (0)