From 6f52a1dab8a690e39c2c2f1143faaf0e6fde53fa Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Sun, 14 Jul 2024 16:04:04 +0200 Subject: [PATCH] gh-actions: ensure that gcov is present when needed --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fce968d8d..67b5e07f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,6 +124,7 @@ jobs: sudo apt-get purge -y gcc g++ sudo ln -s /usr/bin/gcc-12 /usr/bin/gcc sudo ln -s /usr/bin/g++-12 /usr/bin/g++ + sudo ln -s /usr/bin/gcov-12 /usr/bin/gcov sudo python3 -m pip install meson==0.55.1 - name: add ccache to the build path run: | @@ -172,6 +173,7 @@ jobs: sudo apt-get purge -y gcc g++ sudo ln -s /usr/bin/gcc-12 /usr/bin/gcc sudo ln -s /usr/bin/g++-12 /usr/bin/g++ + sudo ln -s /usr/bin/gcov-12 /usr/bin/gcov sudo python3 -m pip install meson==0.55.1 - name: add ccache to the build path run: | @@ -361,6 +363,7 @@ jobs: export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" sudo ln -s /usr/bin/gcc-${{ matrix.version }} /usr/bin/gcc sudo ln -s /usr/bin/g++-${{ matrix.version }} /usr/bin/g++ + sudo ln -s /usr/bin/gcov-${{ matrix.version }} /usr/bin/gcov - name: Configure run: meson setup build - name: Build