1010 fail-fast : false
1111 matrix :
1212 os : [ubuntu-latest]
13- gcc_v : [9,10,11,12 ] # gfortran versions to test
13+ gcc_v : [12, 13 ] # gfortran versions to test
1414 python-version : [3.12]
1515 env :
1616 FC : gfortran-${{ matrix.gcc_v }}
@@ -23,13 +23,13 @@ jobs:
2323 submodules : recursive
2424
2525 - name : Install Python
26- if : contains( matrix.gcc_v, 10 )
26+ if : contains( matrix.gcc_v, 12 )
2727 uses :
actions/[email protected] # Use pip to install latest CMake, & FORD/Jin2For, etc. 2828 with :
2929 python-version : ${{ matrix.python-version }}
3030
3131 - name : Setup Graphviz
32- if : contains( matrix.gcc_v, 10 )
32+ if : contains( matrix.gcc_v, 12 )
3333 uses : ts-graphviz/setup-graphviz@v1
3434
3535 - name : Setup Fortran Package Manager
3838 github-token : ${{ secrets.GITHUB_TOKEN }}
3939
4040 - name : Install Python dependencies
41- if : contains( matrix.gcc_v, 10 )
41+ if : contains( matrix.gcc_v, 12 )
4242 run : |
4343 python -m pip install --upgrade pip
4444 pip install ford numpy matplotlib
5959 run : fpm test --profile debug --flag -coverage
6060
6161 - name : Create coverage report
62- if : contains( matrix.gcc_v, 10 )
62+ if : contains( matrix.gcc_v, 12 )
6363 run : |
6464 mkdir -p ${{ env.COV_DIR }}
6565 mv ./build/gfortran_*/*/* ${{ env.COV_DIR }}
@@ -70,17 +70,17 @@ jobs:
7070 COV_DIR : build/coverage
7171
7272 - name : Upload coverage report
73- if : contains( matrix.gcc_v, 10 )
73+ if : contains( matrix.gcc_v, 12 )
7474 uses : codecov/codecov-action@v3
7575 with :
7676 files : build/coverage/coverage.info
7777
7878 - name : Build documentation
79- if : contains( matrix.gcc_v, 10 )
79+ if : contains( matrix.gcc_v, 12 )
8080 run : ford ./ford.md
8181
8282 - name : Deploy Documentation
83- if : contains( matrix.gcc_v, 10 ) && github.ref == 'refs/heads/master'
83+ if : contains( matrix.gcc_v, 12 ) && github.ref == 'refs/heads/master'
84848585 with :
8686 branch : gh-pages # The branch the action should deploy to.
0 commit comments