Skip to content

Commit

Permalink
CI Script now downloads lcov 1.15.
Browse files Browse the repository at this point in the history
This should interact properly with gcov-9, which is the version
that Github Actions is using.
  • Loading branch information
KazDragon committed Mar 8, 2021
1 parent dc61346 commit 826486a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ jobs:
if [ ! -f "$HOME/.lcov/local/bin/lcov" ]; then
mkdir $HOME/.lcov-build || true;
cd $HOME/.lcov-build;
wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.14.orig.tar.gz;
tar -xzf lcov_1.14.orig.tar.gz;
wget https://github.com/linux-test-project/lcov/releases/download/v1.15/lcov-1.15.tar.gz
tar -xzf lcov-1.15.tar.gz;
mkdir -p $HOME/.lcov || true;
DESTDIR=$HOME/.lcov make -C lcov-1.14/ install;
DESTDIR=$HOME/.lcov make -C lcov-1.15/ install;
fi
echo "##[set-output name=bin;]$(echo $HOME/.lcov/usr/local/bin/lcov)"
id: lcov
Expand Down

0 comments on commit 826486a

Please sign in to comment.