Skip to content

Added GH actions for windows and Mac #62

Added GH actions for windows and Mac

Added GH actions for windows and Mac #62

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:
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