Added optional flag to time_interp_external to speedup initialization #5
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: Build libFMS with cmake | |
on: [push, pull_request] | |
# cancel running jobs if theres a newer push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
omp-flags: [ -DOPENMP=on, -DOPENMP=off ] | |
libyaml-flag: [ "", -DWITH_YAML=on ] | |
io-flag: [ "", -DUSE_DEPRECATED_IO=on ] | |
container: | |
image: noaagfdl/hpc-me.ubuntu-minimal:cmake | |
env: | |
CMAKE_FLAGS: "${{ matrix.omp-flags }} ${{ matrix.io-flag }} ${{ matrix.libyaml-flag }} -D64BIT=on" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate makefiles with CMake | |
run: cmake $CMAKE_FLAGS . | |
- name: Build the library | |
run: make |