Skip to content

Add Windows CI test and setup regression tests against known output #33

Add Windows CI test and setup regression tests against known output

Add Windows CI test and setup regression tests against known output #33

Workflow file for this run

name: Mac
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
gnu:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
gcc_version: [12, 13, 14]
build_type: [Debug, Release]
env:
FC: gfortran-${{ matrix.gcc_version }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install netcdf netcdf-fortran
- name: Run Cmake
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Build
run: cmake --build build --verbose
- name: Run tests
run: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure . --verbose
working-directory: build