Skip to content

Commit

Permalink
Symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa authored Jul 1, 2024
1 parent 9faed4f commit ac81b2e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test-fortran-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@ jobs:

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build


- name: Symlink gfortran (macOS)
run: |
# make sure gfortran is available
# https://github.com/actions/virtual-environments/issues/2524
# https://github.com/cbg-ethz/dce/blob/master/.github/workflows/pkgdown.yaml
sudo ln -s /usr/local/bin/gfortran-11 /usr/local/bin/gfortran
sudo mkdir /usr/local/gfortran
sudo ln -s /usr/local/Cellar/gcc@11/*/lib/gcc/11 /usr/local/gfortran/lib
gfortran --version
- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
Expand Down

0 comments on commit ac81b2e

Please sign in to comment.