Skip to content

Commit

Permalink
add libelf dev headers
Browse files Browse the repository at this point in the history
Add libelf dev and kernel headers to the gen workflow so that
it can complete successfully.

Signed-off-by: astoycos <[email protected]>
  • Loading branch information
astoycos committed Jun 26, 2024
1 parent e8ae9ae commit 62af312
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Install headers
continue-on-error: true
run: |
sudo apt -y update
sudo apt-get -y update
sudo apt -y install libc6-dev libc6-dev-{arm64,armel,riscv64,ppc64el,s390x}-cross
sudo dpkg --add-architecture arm64
sudo dpkg --add-architecture armel
sudo dpkg --add-architecture riscv64
sudo dpkg --add-architecture ppc64el
sudo dpkg --add-architecture s390x
sudo apt-get -y update
- name: Run codegen
run: |
cargo xtask codegen
Expand Down

0 comments on commit 62af312

Please sign in to comment.