Skip to content

Merge branch 'v6.0' of github.com:gotm-model/code into light-feedback #228

Merge branch 'v6.0' of github.com:gotm-model/code into light-feedback

Merge branch 'v6.0' of github.com:gotm-model/code into light-feedback #228

Workflow file for this run

name: Build and test
on: push
jobs:
gfortran:
strategy:
matrix:
version: [9, 10]
os: [ubuntu-latest]
include:
#- version: 6
# os: ubuntu-18.04
- version: 7
os: ubuntu-20.04
- version: 8
os: ubuntu-20.04
cmake_args: -DFABM_USE_CONTIGUOUS=OFF
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Install compiler
run: |
sudo apt-get update
sudo apt-get install gfortran-${{ matrix.version }}
- name: Clone gotm
uses: actions/checkout@v2
with:
path: gotm
submodules: recursive
- name: Clone gotm-cases
uses: actions/checkout@v2
with:
path: cases
repository: gotm-model/cases
ref: v6.0
- name: Build and run all test cases
run: python3 cases/scripts/run_all.py --show_logs --gotm_base=gotm --exclude plume --compiler=gfortran-${{ matrix.version }} -DGOTM_USE_STIM=ON -DGOTM_USE_SEAGRASS=ON -DGOTM_USE_NetCDF=OFF ${{ matrix.cmake_args }}