File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,12 +47,16 @@ jobs:
4747 -DCMAKE_INSTALL_PREFIX=$HOME/flcl \
4848 -DCMAKE_PREFIX_PATH="$HOME/kokkos" \
4949 -DCMAKE_CXX_COMPILER=g++-${{ matrix.gcc_ver }} \
50- -DCMAKE_CXX_FLAGS='-Wall -pedantic' \
50+ -DCMAKE_CXX_FLAGS='-Wall -pedantic --coverage ' \
5151 -DCMAKE_C_COMPILER=gcc-${{ matrix.gcc_ver }} \
52- -DCMAKE_C_FLAGS='-Wall -pedantic' \
52+ -DCMAKE_C_FLAGS='-Wall -pedantic --coverage ' \
5353 -DCMAKE_Fortran_COMPILER=gfortran-${{ matrix.gcc_ver }} \
54- -DCMAKE_Fortran_FLAGS='-Wall -pedantic' \
54+ -DCMAKE_Fortran_FLAGS='-Wall -pedantic --coverage' \
55+ -DCMAKE_EXE_LINKER_FLAGS='--coverage' \
5556 -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }}
5657 cmake --build build --parallel 2
5758 cmake --build build --target test
5859 cmake --install build
60+ - name : Upload Report to codecov.io
61+ uses : codecov/codecov-action@v1
62+ if : ${{ matrix.gcc_ver == '9' }}
You can’t perform that action at this time.
0 commit comments