File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2121 fail-fast : false
2222 matrix :
2323 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.
2525 env :
2626 FC : gfortran-${{ matrix.gcc_v }}
2727 GCC_V : ${{ matrix.gcc_v }}
@@ -73,14 +73,14 @@ jobs:
7373 working-directory : build
7474
7575 - 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
7777 run : |
7878 cmake -DCMAKE_MAXIMUM_RANK=4 .
7979 cmake --build .
8080 cmake --build . --target test
8181
8282 - 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 ')
8484 run : |
8585 make -f Makefile.manual FYPPFLAGS="-DMAXRANK=4"
8686 make -f Makefile.manual test
Original file line number Diff line number Diff line change 2020jobs :
2121 Build-API-Docs :
2222 runs-on : macos-latest
23+ env :
24+ GCC_V : 10
2325 steps :
2426 - uses : actions/checkout@v2
2527 with :
2628 fetch-depth : 0 # Full history to get tag and commit info
2729 - 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
2934 - name : Install Dependencies
3035 run : |
3136 pip3 install --prefer-binary --no-clean --disable-pip-version-check --progress-bar off lxml fypp
3237 brew install -f --force-bottle --keep-tmp ford
3338 type -a ford
3439 ford --version
35- gfortran --version
40+ gfortran-${GCC_V} --version
3641 - name : Skip graph and search unless deploying
3742 if : github.ref != 'refs/heads/master' && ! startsWith( github.ref, 'refs/tags/' )
3843 run : |
You can’t perform that action at this time.
0 commit comments