File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 21
21
fail-fast : false
22
22
matrix :
23
23
os : [ubuntu-latest, macos-latest]
24
- gcc_v : [7, 8, 9] # Version of GFortran we want to use.
24
+ gcc_v : [7, 8, 9, 10 ] # Version of GFortran we want to use.
25
25
env :
26
26
FC : gfortran-${{ matrix.gcc_v }}
27
27
GCC_V : ${{ matrix.gcc_v }}
@@ -73,14 +73,14 @@ jobs:
73
73
working-directory : build
74
74
75
75
- name : Test in-tree builds
76
- if : contains( matrix.gcc_v, '9 ') # Only test one compiler on each platform
76
+ if : contains( matrix.gcc_v, '10 ') # Only test one compiler on each platform
77
77
run : |
78
78
cmake -DCMAKE_MAXIMUM_RANK=4 .
79
79
cmake --build .
80
80
cmake --build . --target test
81
81
82
82
- name : Test manual makefiles
83
- if : contains(matrix.os, 'ubuntu') && contains(matrix.gcc_v, '9 ')
83
+ if : contains(matrix.os, 'ubuntu') && contains(matrix.gcc_v, '10 ')
84
84
run : |
85
85
make -f Makefile.manual FYPPFLAGS="-DMAXRANK=4"
86
86
make -f Makefile.manual test
Original file line number Diff line number Diff line change 20
20
jobs :
21
21
Build-API-Docs :
22
22
runs-on : macos-latest
23
+ env :
24
+ GCC_V : 10
23
25
steps :
24
26
- uses : actions/checkout@v2
25
27
with :
26
28
fetch-depth : 0 # Full history to get tag and commit info
27
29
- name : Install GFortran macOS
28
- run : brew install gcc || brew upgrade gcc || true
30
+ run : |
31
+ brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
32
+ brew link gcc@${GCC_V}
33
+ gfortran-${GCC_V} --version
29
34
- name : Install Dependencies
30
35
run : |
31
36
pip3 install --prefer-binary --no-clean --disable-pip-version-check --progress-bar off lxml fypp
32
37
brew install -f --force-bottle --keep-tmp ford
33
38
type -a ford
34
39
ford --version
35
- gfortran --version
40
+ gfortran-${GCC_V} --version
36
41
- name : Skip graph and search unless deploying
37
42
if : github.ref != 'refs/heads/master' && ! startsWith( github.ref, 'refs/tags/' )
38
43
run : |
You can’t perform that action at this time.
0 commit comments