more testing #3
This file contains 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: test cprnc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Installs | |
run: | | |
set -x | |
sudo apt-get update | |
sudo apt-get install netcdf-bin gfortran libnetcdff-dev | |
- name: cmake build | |
shell: bash | |
run: | | |
export NETCDF_Fortran_LIBRARY=/usr/lib/x86_64-linux-gnu/libnetcdff.a | |
export NETCDF_Fortran_INCLUDE_DIR=/usr/include | |
export FCFLAGS="-Wall -fsanitize=address -static-libasan" | |
export LDFLAGS=" -static-libasan" | |
mkdir build | |
cd build | |
cmake -Wno-dev ../ | |
make VERBOSE=1 | |
make test |