Commit d2897b43 authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

Changed to work with more absolute files, so maybe gcovr would work in ci...

parent 0968c9f7
Pipeline #19102 failed with stages
in 5 minutes and 31 seconds
......@@ -15,8 +15,8 @@ debian_buster_x64_build:
- cmake -DINSTALL_PREFIX=$(pwd)/build/deps -DBUILD_DIR=build/deps -P scripts/install.cmake
- cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B build/Release
- cmake --build build/Release/
- cmake -E env CXXFLAGS="-g -O0 -Wall -Wextra -Wpedantic -Wshadow -W --coverage" C_FLAGS="-g -O0 -Wall -W --coverage" LDFLAGS="--coverage -lgcov" cmake -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B build/Debug
- cmake --build build/Debug
- cmake -E env CXXFLAGS="-g -O0 -Wall -Wextra -Wpedantic -Wshadow -W --coverage" C_FLAGS="-g -O0 -Wall -W --coverage" LDFLAGS="--coverage -lgcov" cmake -G "Ninja" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(pwd)/build/deps -S . -B $(pwd)/build/Debug
- cmake --build $(pwd)/build/Debug
artifacts:
paths:
- build/
......@@ -33,7 +33,7 @@ debian_test:
- ctest -E pluginval
#- gcovr --fail-under-line 80 -s -e '.*/deps/.*$' -e '.*(CMake|(T|t)tl|string_view).*$' --exclude-directories "test/|examples/|deps/" -r $(pwd)/../.. $(pwd)
- cppcheck --enable=warning,style,performance,portability --error-exitcode=1 -q --std=c++14 --language=c++ --suppress=*:*deps/* --project=compile_commands.json
- gcovr --fail-under-line 80 -s -e '.*/deps/.*$' -e '.*(CMake|(T|t)tl|string_view).*$' --exclude-directories "test/|examples/|deps/" -r $(pwd)/../.. $(pwd)
- gcovr --fail-under-line 80 -s -e '.*/deps/.*$' -e '.*(CMake|(T|t)tl|string_view).*$' --exclude-directories "test/|examples/|deps/" -r $(readlink -f $(pwd)/../..) $(pwd)
#docker-test-linux-x64 :
# image: dockcross/linux-x64
# stage: test
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment