ci: ubuntu: fix coverage unittests by patching/updating lcov

Hack for https://github.com/linux-test-project/lcov/issues/245. I tried
to backport bf135caf5f
but had no luck (worked in one container but didn'y apply in another, whatever).

This fixes the coverage unittests.

>=lcov-2.1-beta works fine. The beta has landed in a beta version of
Ubuntu too.

Bug: https://github.com/linux-test-project/lcov/issues/245
pull/13550/head
Sam James 3 months ago
parent 9c3dcea2cd
commit cdf646feb8
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
  1. 7
      ci/ciimage/ubuntu-rolling/install.sh

@ -82,6 +82,13 @@ cp LICENSE /usr/share/doc/zig
cd ..
rm -rf "$ZIG_BASE"
# Hack for https://github.com/linux-test-project/lcov/issues/245
# https://github.com/linux-test-project/lcov/commit/bf135caf5f626e02191c42bd2773e08a0bb9b7e5
# XXX: Drop this once Ubuntu has lcov-2.1*
git clone https://github.com/linux-test-project/lcov
cd lcov
make install
# cleanup
apt-get -y clean
apt-get -y autoclean

Loading…
Cancel
Save