Skip to content

Commit 438e2cf

Browse files
committed
update doc-deployment.yml for gfortran 10
1 parent 896ef37 commit 438e2cf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/doc-deployment.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ env:
2020
jobs:
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: |

0 commit comments

Comments
 (0)