Merge pull request #55 from danieljprice/band-bug #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
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 and install giza | |
run: | | |
./configure | |
make | |
sudo make install |