Skip to content

Commit b3e633d

Browse files
committed
ci: add "Run libbpf-tools build with blazesym" to test_bcc_fedora
Add a new CI step to test building libbpf-tools with blazesym enabled. This ensures compatibility in environments where cargo is available.
1 parent 8b748f2 commit b3e633d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/bcc-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,23 @@ jobs:
192192
/bin/bash -c \
193193
'cd /bcc/libbpf-tools && make -j9'"
194194
195+
- name: Run libbpf-tools build with blazesym
196+
env: ${{ matrix.env }}
197+
run: |
198+
/bin/bash -c \
199+
"docker run --privileged \
200+
--pid=host \
201+
-v $(pwd):/bcc \
202+
-v /sys/kernel/debug:/sys/kernel/debug:rw \
203+
-v /lib/modules:/lib/modules:ro \
204+
-v /usr/src:/usr/src:ro \
205+
-v /usr/include/linux:/usr/include/linux:ro \
206+
bcc-docker \
207+
/bin/bash -c \
208+
'curl --proto \"=https\" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
209+
source \$HOME/.cargo/env && \
210+
cd /bcc/libbpf-tools && make clean && make -j9'"
211+
195212
- name: Run bcc's cc tests
196213
env: ${{ matrix.env }}
197214
# tests are wrapped with `script` as a hack to get a TTY as github actions doesn't provide this

0 commit comments

Comments
 (0)