Skip to content

Commit

Permalink
Try to install gfortran a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed May 15, 2024
1 parent 14a5a7a commit bf077e5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gfortran ninja-build
- name: Install gfortran 2
if: contains(matrix.os, 'macos')
run: |
set -euo pipefail
brew install gcc@9 || true
gfortran --version || sudo ln -s /usr/local/bin/gfortran-9 /usr/local/bin/gfortran
gfortran --version
- if: contains(matrix.os, 'macos')
uses: fortran-lang/setup-fortran@v1
with:
compiler: gcc
- name: "Install dependencies and code"
run: |
set -euo pipefail
Expand Down

0 comments on commit bf077e5

Please sign in to comment.