Merge pull request #148 from NOAA-EMC/AlexanderRichert-NOAA-patch-1 #78
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
# 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 | |