Skip to content

Merge pull request #220 from COSIMA/Rename-CORE_IAF_JRA55do_iss219 #207

Merge pull request #220 from COSIMA/Rename-CORE_IAF_JRA55do_iss219

Merge pull request #220 from COSIMA/Rename-CORE_IAF_JRA55do_iss219 #207

Workflow file for this run

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