Skip to content

WMO GRIB2 v33.0 update, new parameters added #129

WMO GRIB2 v33.0 update, new parameters added

WMO GRIB2 v33.0 update, new parameters added #129

Workflow file for this run

name: developer
on:
push:
branches:
- develop
pull_request:
branches:
- develop
# Cancel in-progress workflows when pushing to a branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
developer:
runs-on: ubuntu-latest
env:
FC: gfortran
CC: gcc
steps:
- name: install-dependencies
run: |
sudo apt-get update
sudo apt-get install doxygen
python3 -m pip install gcovr
- name: checkout
uses: actions/checkout@v4
with:
path: g2tmpl
submodules: true
- name: build
run: |
cd g2tmpl
mkdir build
cd build
cmake -DENABLE_DOCS=ON -DCMAKE_C_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall -Werror" -DCMAKE_Fortran_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall -Werror" -DCMAKE_BUILD_TYPE=Debug ..
make -j2 VERBOSE=1
- name: test
run: |
cd $GITHUB_WORKSPACE/g2tmpl/build
ctest --verbose --output-on-failure --rerun-failed
gcovr --root .. -v --html-details --exclude ../tests --exclude CMakeFiles --print-summary -o test-coverage.html
- name: upload-test-coverage
uses: actions/upload-artifact@v4
with:
name: g2tmpl-test-coverage
path: |
g2tmpl/build/*.html
g2tmpl/build/*.css