mirror of https://github.com/mosra/magnum.git
4 changed files with 32 additions and 5 deletions
@ -0,0 +1,16 @@
|
||||
#!/bin/bash |
||||
set -ev |
||||
|
||||
pacman -Sy --noconfirm mingw-w64-x86_64-perl |
||||
|
||||
# mingw lcov package is empty, so download and use it manually |
||||
# https://github.com/appveyor/ci/issues/1628 |
||||
wget https://github.com/linux-test-project/lcov/archive/v1.13.tar.gz |
||||
tar -xzf v1.13.tar.gz |
||||
|
||||
# Keep in sync with PKBUILD-coverage, please |
||||
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --directory . --capture --output-file coverage.info > /dev/null |
||||
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --extract coverage.info "*/src/Magnum*/*" --output-file coverage.info > /dev/null |
||||
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/src/MagnumExternal/*" --output-file coverage.info > /dev/null |
||||
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/Test/*" --output-file coverage.info > /dev/null |
||||
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/build/src/*" --output-file coverage.info > /dev/null |
||||
Loading…
Reference in new issue