Skip to content

Commit

Permalink
Trying with alias + path
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinte committed Jul 18, 2024
1 parent 8e4e519 commit 8cfc7a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ runs:
if: matrix.compiler == 'gfortran' && (matrix.os == 'macos' || matrix.os == 'armmac')
shell: bash
run: |
sudo chown runner:admin /usr/local
brew reinstall gcc@13
ln -s /usr/local/bin/gcc-13 /usr/local/bin/gcc
ln -s /usr/local/bin/g++-13 /usr/local/bin/g++
ln -s /usr/local/bin/gfortran-13 /usr/local/bin/gfortran
export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
alias gcc=gcc-13
alias g++=g++-13
alias gfortran=gfortran-13
Expand Down

0 comments on commit 8cfc7a6

Please sign in to comment.