Skip to content

Commit 3b1867b

Browse files
committed
ci: fpm
1 parent 518526d commit 3b1867b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci_fpm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: ci_fpm
22

3-
43
on:
54
push:
65
paths:
@@ -16,6 +15,10 @@ jobs:
1615
runs-on: ubuntu-latest
1716
timeout-minutes: 15
1817

18+
env:
19+
FPM_FFLAGS: -I/usr/include/hdf5/serial
20+
FPM_LDFLAGS: -L/usr/lib/x86_64-linux-gnu/hdf5/serial
21+
1922
steps:
2023

2124
- uses: fortran-lang/setup-fpm@v4
@@ -29,5 +32,5 @@ jobs:
2932
3033
- uses: actions/checkout@v2
3134

32-
- run: fpm fpm --flag -I/usr/include/hdf5/serial --link-flag -L/usr/lib/x86_64-linux-gnu/hdf5/serial build
35+
- run: fpm build
3336
- run: fpm test

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
![ci_linux](https://github.com/geospace-code/h5fortran/workflows/ci/badge.svg)
77
![ci_macos](https://github.com/geospace-code/h5fortran/workflows/ci_macos/badge.svg)
88
![ci_windows](https://github.com/geospace-code/h5fortran/workflows/ci_windows/badge.svg)
9+
[![ci_fpm](https://github.com/geospace-code/h5fortran/actions/workflows/ci_fpm.yml/badge.svg)](https://github.com/geospace-code/h5fortran/actions/workflows/ci_fpm.yml)
910
![ci_meson](https://github.com/geospace-code/h5fortran/workflows/ci_meson/badge.svg)
1011
[![intel-oneapi](https://github.com/geospace-code/h5fortran/actions/workflows/intel-oneapi.yml/badge.svg)](https://github.com/geospace-code/h5fortran/actions/workflows/intel-oneapi.yml)
1112

0 commit comments

Comments
 (0)