CI: put coverage-html output into file

I'm tired of scrolling through that flood when looking at CI logs. It's
just listing every gcno, gcda and c file name as it parses them.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago committed by Daniel Stone
parent b27f539714
commit 4a644e34d9
  1. 2
      .gitlab-ci.yml

@ -111,7 +111,7 @@ build-native-meson-default-options:
-Dlauncher-libseat=true -Dlauncher-libseat=true
extends: .build-native-meson extends: .build-native-meson
after_script: after_script:
- ninja -C "$BUILDDIR" coverage-html - ninja -C "$BUILDDIR" coverage-html > "$BUILDDIR/meson-logs/ninja-coverage-html.txt"
- ninja -C "$BUILDDIR" coverage-xml - ninja -C "$BUILDDIR" coverage-xml
- sed -i -e 's/\/build-weston-build-native-meson-default-options//' -e 's/\"..\//\"/' "$BUILDDIR/meson-logs/coverage.xml" - sed -i -e 's/\/build-weston-build-native-meson-default-options//' -e 's/\"..\//\"/' "$BUILDDIR/meson-logs/coverage.xml"
artifacts: artifacts:

Loading…
Cancel
Save