1010 fail-fast : false
1111 matrix :
1212 os : [ubuntu-latest]
13- gcc_v : [8, 9,10,11] # Version of GFortran we want to use.
13+ gcc_v : [9,10,11,12 ] # Version of GFortran we want to use.
1414 python-version : [3.11]
1515 env :
1616 FC : gfortran-${{matrix.gcc_v}}
5555 --slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
5656
5757 - name : Compile_with_build
58- if : matrix.gcc_v != 8 && matrix.gcc_v != 11
58+ if : matrix.gcc_v != 12 && matrix.gcc_v != 11
5959 run : |
6060 GFORTRAN=gfortran-${{matrix.gcc_v}}
6161 GCOV=gcov-${{matrix.gcc_v}}
@@ -137,15 +137,15 @@ jobs:
137137 - name : Compile_with_build_mkdocs
138138 # build with build.sh, make documentation, run unit tests
139139 # and perform coverage analysis - used for doc deployment
140- if : matrix.gcc_v == 8
140+ if : matrix.gcc_v == 12
141141 run : |
142142 GFORTRAN=gfortran-${{matrix.gcc_v}}
143143 GCOV=gcov-${{matrix.gcc_v}}
144144 ./build.sh --coverage --skip-documentation
145145 ./build.sh --coverage --enable-unicode
146146
147147 - name : Deploy Documentation for master
148- if : matrix.gcc_v == 8 && github.ref == 'refs/heads/master'
148+ if : matrix.gcc_v == 12 && github.ref == 'refs/heads/master'
149149150150 with :
151151 branch : gh-pages # The branch the action should deploy to.
@@ -157,15 +157,15 @@ jobs:
157157 - name : Rebuild documentation for tagged release
158158 env :
159159 TAGNAME : ${{github.ref_name}}
160- if : matrix.gcc_v == 8 && startsWith(github.ref, 'refs/tags/')
160+ if : matrix.gcc_v == 12 && startsWith(github.ref, 'refs/tags/')
161161 run : |
162162 echo ${TAGNAME}
163163 rm -rf doc
164164 sed "2 s/^/version: ${TAGNAME}\n/" json-fortran.md > json-fortran.tagged.md
165165 ford --debug json-fortran.tagged.md
166166
167167 - name : Deploy documentation for tagged release
168- if : matrix.gcc_v == 8 && startsWith(github.ref, 'refs/tags/')
168+ if : matrix.gcc_v == 12 && startsWith(github.ref, 'refs/tags/')
169169170170 with :
171171 branch : gh-pages # The branch the action should deploy to.
@@ -174,7 +174,7 @@ jobs:
174174 single-commit : true
175175
176176 - name : Upload coverage
177- if : matrix.gcc_v == 8
177+ if : matrix.gcc_v == 12
178178 run : |
179179 rm json_*.F90-*unicode.gcov || true
180180 mv json_*.F90.gcov src/
0 commit comments