File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,24 @@ jobs:
50
50
sudo rm -f /bin/clang && sudo ln -s /usr/bin/clang-14 /bin/clang
51
51
- name : Build
52
52
run : cargo build --verbose --workspace --exclude runqslower
53
- - name : Build capable example with static libelf and libz
54
- run : RUSTFLAGS="$RUSTFLAGS -L /usr/lib/x86_64-linux-gnu" cargo build --package capable --features=static
55
53
- name : Run tests
56
54
# Skip BTF tests which require sudo
57
55
run : cargo test --verbose --workspace --exclude runqslower -- --skip test_object --skip test_tc
58
56
- name : Run BTF tests
59
57
run : cd libbpf-rs && cargo test --verbose -- test_object test_tc
58
+ build-capable :
59
+ name : Build capable example with static libelf and libz
60
+ runs-on : ubuntu-latest
61
+ steps :
62
+ - uses : actions/checkout@v3
63
+ - name : Install deps
64
+ run : sudo apt-get install -y libelf-dev
65
+ - uses : actions-rs/toolchain@v1
66
+ with :
67
+ profile : minimal
68
+ toolchain : stable
69
+ override : true
70
+ - run : RUSTFLAGS="$RUSTFLAGS -L /usr/lib/x86_64-linux-gnu" cargo build --package capable --features=static
60
71
clippy :
61
72
name : Lint with clippy
62
73
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments