Skip to content

Commit

Permalink
fix(ci): kcov dependencies on workflow runner (#467)
Browse files Browse the repository at this point in the history
On the github runner, kcov is looking for libraries with version 38, but the system only has version 42. To get this working, I modified the workflow to hard link the files from 42 to 38. It's not an elegant fix, but currently all of our builds are failing, and this gets things working again. I created a ticket to look into this further: https://github.com/orgs/Syndica/projects/2/views/10?pane=issue&itemId=91539549
  • Loading branch information
dnut authored Dec 19, 2024
1 parent 4570ab4 commit 87b1c48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ jobs:
run: |
wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz
sudo tar xf kcov-amd64.tar.gz -C /
- name: fix kcov dependencies
run: |
cd /usr/lib/x86_64-linux-gnu/
sudo ln libopcodes-2.42-system.so libopcodes-2.38-system.so || echo libopcodes not found
sudo ln libbfd-2.42-system.so libbfd-2.38-system.so || echo libbfd not found
- name: run kcov
run: |
Expand Down

0 comments on commit 87b1c48

Please sign in to comment.