Merge pull request #109 from mnlevy1981/move_kpp_parameters #41
This file contains hidden or 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: 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: Setup Python | |
| uses: actions/setup-python@v4 | |
| - name: Setup python environment | |
| run: | | |
| pip install numpy xarray netcdf4 | |
| - 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 |