File tree Expand file tree Collapse file tree 2 files changed +32
-9
lines changed Expand file tree Collapse file tree 2 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 12
12
python-version : ' 3.x'
13
13
14
14
- name : Install dependencies
15
- run : pip install -v ford==6.1.5
15
+ run : pip install -v ford==6.1.17
16
16
17
17
- name : Build Documentation
18
18
run : ford API-doc-FORD-file.md
Original file line number Diff line number Diff line change @@ -3,24 +3,20 @@ name: fpm
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
6
+ gcc- build :
7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- os : [ubuntu-latest, macos-latest, windows-latest ]
11
+ os : [ubuntu-latest, macos-11 ]
12
12
gcc_v : [10] # Version of GFortran we want to use.
13
13
include :
14
14
- os : ubuntu-latest
15
15
os-arch : linux-x86_64
16
16
17
- - os : macos-latest
17
+ - os : macos-11
18
18
os-arch : macos-x86_64
19
19
20
- - os : windows-latest
21
- os-arch : windows-x86_64
22
- # Windows GFortran Version: 8.1
23
-
24
20
env :
25
21
FC : gfortran
26
22
GCC_V : ${{ matrix.gcc_v }}
35
31
ln -s /usr/local/bin/gfortran-${GCC_V} /usr/local/bin/gfortran
36
32
which gfortran-${GCC_V}
37
33
which gfortran
34
+
38
35
- name : Install GFortran Linux
39
36
if : contains(matrix.os, 'ubuntu')
40
37
run : |
45
42
- name : Install fpm
46
43
uses : fortran-lang/setup-fpm@v3
47
44
with :
48
- fpm-version : ' v0.5 .0'
45
+ fpm-version : ' v0.7 .0'
49
46
50
47
- name : Build fftpack
51
48
run : |
57
54
gfortran --version
58
55
fpm test
59
56
57
+ msys2-build :
58
+ runs-on : windows-latest
59
+ defaults :
60
+ run :
61
+ shell : msys2 {0}
62
+
63
+ steps :
64
+ - uses : actions/checkout@v2
65
+ - uses : msys2/setup-msys2@v2
66
+ with :
67
+ msystem : MINGW64
68
+ update : true
69
+ path-type : inherit
70
+ install : |
71
+ mingw-w64-x86_64-gcc-fortran
72
+ mingw-w64-x86_64-fpm
73
+
74
+ - name : fpm build
75
+ run : |
76
+ gfortran --version
77
+ fpm --version
78
+ fpm build
79
+
80
+ - name : fpm test
81
+ run : |
82
+ fpm test
You can’t perform that action at this time.
0 commit comments