Skip to content

FRE-NCtools CI

FRE-NCtools CI #4

Workflow file for this run

# Github actions CI file
# Ryan Mulhall 2020
# CI testing for the FRE-NCtools repo, builds and runs unit tests
# image dockerfile is maintained here:
# https://gitlab.gfdl.noaa.gov/fre/hpc-me
name: FRE-NCtools CI
on:
workflow_run:
workflows: ["FRE-NCtools Check Expensive"]
types:
- completed
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
with_mpi: ['','--with-mpi']
enable_quad_precision: ['', '--enable-quad-precision']
container:
image: ghcr.io/noaa-gfdl/fre-nctools-ci-rocky-gnu:14.2.0_v2
env:
MPI: ${{ matrix.with_mpi }}
QUAD_P: ${{ matrix.enable_quad_precision }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure
run: |
mkdir build && cd build
autoreconf -i ../configure.ac
../configure $MPI $QUAD_P || cat config.log
- name: Build distribution with check
run: make DISTCHECK_CONFIGURE_FLAGS="$MPI $QUAD_P" -C build -j
- name: Save log file on failure
uses: actions/[email protected]
if: failure()
with:
name: test-suites
path: |
build/tests/test-suite.log