Skip to content

Merge branch 'develop' into error_flow #205

Merge branch 'develop' into error_flow

Merge branch 'develop' into error_flow #205

Workflow file for this run

# This workflow will install the Aether code and eventually run tests
name: Compilation Test
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
cc: ["gcc-default"]
cflag: ["-DUSE_NETCDF=Y", "", "-DUSE_DOUBLE_PRECISION=Y"]
name: ${{ matrix.cc }} on ${{ matrix.os }} with flag ${{ matrix.cflag }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Ubuntu dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
cat requirements.linux | xargs sudo apt-get install
- name: CMake configure
run: |
mkdir build
cd build
cmake ${{ matrix.cflag }} ..
make VERBOSE=1
- name: Test run
run: |
cp -R share/run ./run_test
cd run_test
./aether