Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Install libpcap for upcoming traffic monitor feature. #130

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion run-vmtest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
Some sub-commands produce output dir within VM file system (/command_output/).
If this option is set that dir's content would be copied to corresponding location.
default: ''
toolchain:
required: true
type: string
description: The toolchain, e.g gcc, llvm
runs:
using: "composite"
steps:
Expand All @@ -47,7 +51,7 @@ runs:
# need gawk to support `--field-separator`
sudo apt-get update && sudo apt-get install -y cpu-checker qemu-kvm qemu-utils qemu-system-x86 qemu-system-s390x qemu-system-arm qemu-guest-agent \
ethtool keyutils iptables \
gawk
gawk libpcap-dev
foldable end install_qemu
- name: Configure KVM group perms
shell: bash
Expand All @@ -74,4 +78,9 @@ runs:
PROJECT_NAME: "/mnt/vmtest"
run: |
${GITHUB_ACTION_PATH}/run.sh
- uses: actions/upload-artifact@v4
with:
name: tmon-logs-${{ inputs.arch }}-${{ inputs.toolchain }}-${{ inputs.kernel-test }}
if-no-files-found: ignore
path: tmon-logs

2 changes: 1 addition & 1 deletion setup-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
run: |
echo "::group::Setup"
sudo apt-get update
sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev python3-docutils
sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev libpcap0.8-dev python3-docutils
echo "::endgroup::"
- name: Install clang
shell: bash
Expand Down
Loading