Skip to content

Commit

Permalink
gh-actions: ensure that gcov is present when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jul 14, 2024
1 parent 030c07c commit 6f52a1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6f52a1d

Please sign in to comment.