We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a878d03 commit d7e833aCopy full SHA for d7e833a
.github/workflows/ci.yml
@@ -0,0 +1,43 @@
1
+name: ci
2
+
3
+on:
4
5
+ push:
6
+ paths:
7
+ - ".github/workflows/ci.yml"
8
+ - "fpm.toml"
9
+ - "**.f90"
10
11
+ pull_request:
12
13
14
15
16
17
+jobs:
18
19
+ build:
20
+ name: Build and test on Ubuntu using fpm
21
+ runs-on: ubuntu-latest
22
23
+ env:
24
+ FPM_FFLAGS: -I/usr/include/hdf5/serial
25
+ FPM_LDFLAGS: -L/usr/lib/x86_64-linux-gnu/hdf5/serial
26
27
+ steps:
28
29
+ - uses: fortran-lang/setup-fpm@v4
30
+ with:
31
+ fpm-version: "v0.6.0"
32
33
+ - name: Install HDF5
34
+ run: |
35
+ sudo apt update
36
+ sudo apt install --no-install-recommends libhdf5-dev
37
+ - uses: actions/checkout@v2
38
39
+ - name: Compile
40
+ run: fpm build
41
42
+ - name: Run tests
43
+ run: fpm test
0 commit comments