print more vars #95
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
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 |