Upgrade GitHub CI image #111
Workflow file for this run
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: ramscb-ci | |
| on: | |
| # Trigger the workflow on push or pull request, | |
| # but only for the main branch | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| basic-suite: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y make gcc g++ gfortran | |
| sudo apt-get install -y make libopenmpi-dev openmpi-bin | |
| sudo apt-get install -y libnetcdf-dev libnetcdff-dev nco netcdf-bin | |
| wget https://mirror.us-midwest-1.nexcess.net/gnu/gsl/gsl-2.5.tar.gz | |
| tar xzf gsl-2.5.tar.gz | |
| ./configure && make && make install | |
| gfortran --version | |
| gsl-config --version | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: ram_test_tr | |
| run: | | |
| export PERL5LIB=$PERL5LIB:`pwd` | |
| ./Config.pl -install -compiler=gfortran -mpi=openmpi -openmp -ncdf -gsl -O0 | |
| make | |
| make testCI | |
| - name: unit_tests | |
| run: | | |
| make unittest |