Skip to content

Commit 62af312

Browse files
committed
add libelf dev headers
Add libelf dev and kernel headers to the gen workflow so that it can complete successfully. Signed-off-by: astoycos <[email protected]>
1 parent e8ae9ae commit 62af312

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: .github/workflows/gen.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,18 @@ jobs:
2727
- uses: Swatinem/rust-cache@v2
2828

2929
- name: Install headers
30+
continue-on-error: true
3031
run: |
31-
sudo apt -y update
32+
sudo apt-get -y update
3233
sudo apt -y install libc6-dev libc6-dev-{arm64,armel,riscv64,ppc64el,s390x}-cross
3334
35+
sudo dpkg --add-architecture arm64
36+
sudo dpkg --add-architecture armel
37+
sudo dpkg --add-architecture riscv64
38+
sudo dpkg --add-architecture ppc64el
39+
sudo dpkg --add-architecture s390x
40+
sudo apt-get -y update
41+
3442
- name: Run codegen
3543
run: |
3644
cargo xtask codegen

0 commit comments

Comments
 (0)