Skip to content

Commit

Permalink
[CI] Added installation of gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret committed Nov 16, 2024
1 parent 61ad98d commit 089c282
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install gfortran
run: sudo apt install gfortran

- name: Clean up FortranCInterface_VERIFY
# FortranCInterface_VERIFY fails on macOS, but it's not actually needed for the current build
run: sed -i".backup" 's/FortranCInterface_VERIFY(CXX)/# FortranCInterface_VERIFY(CXX)/g' ${{github.workspace}}/CMakeLists.txt
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install gfortran
run: sudo apt install gfortran

- name: Clean up FortranCInterface_VERIFY
# FortranCInterface_VERIFY fails on macOS, but it's not actually needed for the current build
run: sed -i 's/FortranCInterface_VERIFY(CXX)/# FortranCInterface_VERIFY(CXX)/g' ${{github.workspace}}/CMakeLists.txt
Expand Down

0 comments on commit 089c282

Please sign in to comment.