Skip to content

Merge pull request #148 from NOAA-EMC/AlexanderRichert-NOAA-patch-1 #78

Merge pull request #148 from NOAA-EMC/AlexanderRichert-NOAA-patch-1

Merge pull request #148 from NOAA-EMC/AlexanderRichert-NOAA-patch-1 #78

Workflow file for this run

# This is a GitHub actions workflow for the NCEPLIBS-bacio project.
#
# This workflow does the Linux build.
#
# Ed Hartnett 1/19/23
name: Linux
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
Linux:
runs-on: ubuntu-latest
env:
FC: gfortran-11
CC: gcc-11
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: bacio
- name: build
run: |
cd bacio
mkdir build
cd build
cmake ..
make -j2 VERBOSE=1
- name: test
run: |
set -e
cd $GITHUB_WORKSPACE/bacio/build
ctest --output-on-failure --rerun-failed --verbose