Skip to content

Commit

Permalink
More accurate coverage (#258)
Browse files Browse the repository at this point in the history
* Updated to lcov 1.16.
* Coverage build now runs in debug mode.
  • Loading branch information
KazDragon authored Jul 19, 2022
1 parent 406db78 commit e3fe05e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
matrix:
include:
- build_type: Release
- build_type: Debug

env:
EXTERNAL_ROOT: /home/runner/3party
Expand Down Expand Up @@ -149,13 +149,13 @@ jobs:
- name: Install LCOV
shell: bash
run: |
if [ ! -f "$HOME/.lcov/local/bin/lcov" ]; then
if [ ! -f "$HOME/.lcov/usr/local/bin/lcov" ]; then
mkdir $HOME/.lcov-build || true;
cd $HOME/.lcov-build;
wget https://github.com/linux-test-project/lcov/releases/download/v1.15/lcov-1.15.tar.gz;
tar -xzf lcov-1.15.tar.gz;
wget https://github.com/linux-test-project/lcov/releases/download/v1.16/lcov-1.16.tar.gz;
tar -xzf lcov-1.16.tar.gz;
mkdir -p $HOME/.lcov || true;
DESTDIR=$HOME/.lcov make -C lcov-1.15/ install;
DESTDIR=$HOME/.lcov make -C lcov-1.16/ install;
fi
echo "##[set-output name=bin;]$(echo $HOME/.lcov/usr/local/bin/lcov)"
id: lcov
Expand Down

0 comments on commit e3fe05e

Please sign in to comment.