File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 20
20
jobs :
21
21
Build-API-Docs :
22
22
runs-on : macos-latest
23
+ env :
24
+ GCC_V : 10
23
25
steps :
24
26
- uses : actions/checkout@v2
25
27
with :
26
28
fetch-depth : 0 # Full history to get tag and commit info
27
29
- 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
29
34
- name : Install Dependencies
30
35
run : |
31
36
pip3 install --prefer-binary --no-clean --disable-pip-version-check --progress-bar off lxml fypp
32
37
brew install -f --force-bottle --keep-tmp ford
33
38
type -a ford
34
39
ford --version
35
- gfortran --version
40
+ gfortran-${GCC_V} --version
36
41
- name : Skip graph and search unless deploying
37
42
if : github.ref != 'refs/heads/master' && ! startsWith( github.ref, 'refs/tags/' )
38
43
run : |
You can’t perform that action at this time.
0 commit comments