minor tweaks to atm_comp_nuopc.F90 and datm_datamode_jra55do_mod.F90 #81
Workflow file for this run
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: compilation | |
on: | |
push: | |
jobs: | |
compilation: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: [gcc] | |
build_type: [Debug, Release] | |
container: | |
image: ghcr.io/cosima/access-om3-ci-images/${{matrix.compiler}}:0.3.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
env: | |
FC: mpifort | |
CC: mpicc | |
run: . /etc/profile && cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_VERBOSE_MAKEFILE=ON | |
- name: Build | |
# Build your program with the given configuration | |
run: . /etc/profile && cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} |