Build and test via github action #3
Workflow file for this run
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 and test | |
# Trigger the workflow on push or pull request events | |
on: | |
push: | |
branches: | |
- main | |
- testing | |
pull_request: | |
branches: | |
- main | |
- testing | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install -y gdal libproj25 netcdf julia | |
- name: Build configure script | |
run: autoreconf -fi | |
- name: Run configure script | |
run: ./configure | |
- name: Build kestrel | |
run: make | |
- name: Run tests | |
run: make check |