Skip to content

Merge pull request #102 from mnlevy1981/test_StokesMOST_edgecases #7

Merge pull request #102 from mnlevy1981/test_StokesMOST_edgecases

Merge pull request #102 from mnlevy1981/test_StokesMOST_edgecases #7

name: CVMix CI
on: [push, pull_request]
jobs:
CVMix-Testing:
runs-on: ubuntu-22.04 # tests fail on 24.04 due to nc-config --flibs returning empty string
steps:
- uses: actions/checkout@v3
- name: Load Environment
run: |
sudo apt-get update
sudo apt install make gfortran netcdf-bin libnetcdf-dev libnetcdff-dev openmpi-bin libopenmpi-dev
- name: Run Test Suite
run: |
./reg_tests/common/setup_inputdata.sh
cd bld
./cvmix_setup gfortran $(dirname $(dirname $(which nc-config)))
cd ../CVMix_tools
./run_test_suite.sh --already-ran-setup
cd ../reg_tests/Bryan-Lewis/
./Bryan-Lewis-test.sh --cmake