Skip to content

Commit

Permalink
(github) install and link gfortran compiler in github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed Nov 29, 2024
1 parent 59d093b commit 8047fa1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,21 @@ jobs:
os: [ubuntu-latest, macos-latest]

steps:

# make sure we have gfortran installed and linked
- name: Install gfortran compiler
uses: fortran-lang/setup-fortran@v1
with:
compiler: gcc

# check out the repository
- uses: actions/checkout@v4

- name: compile giza (Mac OS)
if: runner.os == 'macOS'
run: |
./configure --prefix=/opt/homebrew
make V=1 install
./configure
make install
- name: compile giza (Linux)
if: runner.os == 'Linux'
Expand Down

0 comments on commit 8047fa1

Please sign in to comment.