Skip to content

stdlib

stdlib #89

Workflow file for this run

name: cmake
on:
push:
paths:
- "**.f90"
- "**.F90"
- "**.cmake"
- "**/CMakeLists.txt"
- ".github/workflows/cmake.yml"
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
mpi: [openmpi, mpich]
steps:
- uses: actions/checkout@v4
- name: install prereqs (linux)
if: runner.os == 'Linux'
run: sudo apt -yq install --no-install-recommends lib${{ matrix.mpi }}-dev ninja-build
- name: install prereqs (mac)
if: runner.os == 'macOS'
run: brew install ${{ matrix.mpi }} ninja
- run: cmake --workflow --preset debug
- run: cmake --workflow --preset release