Skip to content

Commit

Permalink
jenkins: set GCOV on Ubuntu to match CC/CXX
Browse files Browse the repository at this point in the history
Code coverage runs `gcov` but this needs to match the version of
gcc/g++ used.
  • Loading branch information
richardlau committed Jul 11, 2021
1 parent f5228e6 commit 74f1bbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,12 @@ elif [ "$SELECT_ARCH" = "X64" ]; then
if [ "$NODEJS_MAJOR_VERSION" -gt "15" ]; then
export CC="ccache gcc-8"
export CXX="ccache g++-8"
export GCOV="gcov-8"
export LINK="g++-8"
else
export CC="ccache gcc-6"
export CXX="ccache g++-6"
export GCOV="gcov-6"
export LINK="g++-6"
fi
echo "Compiler set to GCC" `$CXX -dumpversion`
Expand Down

0 comments on commit 74f1bbd

Please sign in to comment.