10
10
fail-fast : false
11
11
matrix :
12
12
os : [ubuntu-latest]
13
- gcc_v : [7, 8,9,10,11] # Version of GFortran we want to use.
13
+ gcc_v : [8,9,10,11] # Version of GFortran we want to use.
14
14
python-version : [3.11]
15
15
env :
16
16
FC : gfortran-${{matrix.gcc_v}}
55
55
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
56
56
57
57
- name : Compile_with_build
58
- if : matrix.gcc_v != 7 && matrix.gcc_v != 11
58
+ if : matrix.gcc_v != 8 && matrix.gcc_v != 11
59
59
run : |
60
60
GFORTRAN=gfortran-${{matrix.gcc_v}}
61
61
GCOV=gcov-${{matrix.gcc_v}}
@@ -137,15 +137,15 @@ jobs:
137
137
- name : Compile_with_build_mkdocs
138
138
# build with build.sh, make documentation, run unit tests
139
139
# and perform coverage analysis - used for doc deployment
140
- if : matrix.gcc_v == 7
140
+ if : matrix.gcc_v == 8
141
141
run : |
142
142
GFORTRAN=gfortran-${{matrix.gcc_v}}
143
143
GCOV=gcov-${{matrix.gcc_v}}
144
144
./build.sh --coverage --skip-documentation
145
145
./build.sh --coverage --enable-unicode
146
146
147
147
- name : Deploy Documentation for master
148
- if : matrix.gcc_v == 7 && github.ref == 'refs/heads/master'
148
+ if : matrix.gcc_v == 8 && github.ref == 'refs/heads/master'
149
149
150
150
with :
151
151
branch : gh-pages # The branch the action should deploy to.
@@ -157,15 +157,15 @@ jobs:
157
157
- name : Rebuild documentation for tagged release
158
158
env :
159
159
TAGNAME : ${{github.ref_name}}
160
- if : matrix.gcc_v == 7 && startsWith(github.ref, 'refs/tags/')
160
+ if : matrix.gcc_v == 8 && startsWith(github.ref, 'refs/tags/')
161
161
run : |
162
162
echo ${TAGNAME}
163
163
rm -rf doc
164
164
sed "2 s/^/version: ${TAGNAME}\n/" json-fortran.md > json-fortran.tagged.md
165
165
ford --debug json-fortran.tagged.md
166
166
167
167
- name : Deploy documentation for tagged release
168
- if : matrix.gcc_v == 7 && startsWith(github.ref, 'refs/tags/')
168
+ if : matrix.gcc_v == 8 && startsWith(github.ref, 'refs/tags/')
169
169
170
170
with :
171
171
branch : gh-pages # The branch the action should deploy to.
@@ -174,7 +174,7 @@ jobs:
174
174
single-commit : true
175
175
176
176
- name : Upload coverage
177
- if : matrix.gcc_v == 7
177
+ if : matrix.gcc_v == 8
178
178
run : |
179
179
rm json_*.F90-*unicode.gcov || true
180
180
mv json_*.F90.gcov src/
0 commit comments