Skip to content

Commit

Permalink
Merge pull request #10 from rem1776/actionTest
Browse files Browse the repository at this point in the history
Basic github action for CI
  • Loading branch information
ceblanton authored Sep 25, 2020
2 parents ce4774a + 729d158 commit 52f97d1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Github actions CI file
# Ryan Mulhall 2020
# Configures with and without mpi and runs make check
name: build_FRE-NCtools

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['--with-mpi', '']
env:
MPI: ${{ matrix.with_mpi }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
run: sudo apt-get install -y libnetcdf-dev libnetcdff-dev netcdf-bin libopenmpi-dev openmpi-bin
- name: Build
run: |
autoreconf -i configure.ac
./configure $MPI
make -j check LOG_DRIVER_FLAGS=--comments

0 comments on commit 52f97d1

Please sign in to comment.