Skip to content

Commit 6aee573

Browse files
committed
ci: enable IPC tests in CI
1 parent 8d2ee88 commit 6aee573

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
- run: |
9696
sudo apt-get update
9797
sudo apt-get install clang mold ccache build-essential cmake ninja-build pkgconf python3-zmq libevent-dev libboost-dev libsqlite3-dev systemtap-sdt-dev libzmq3-dev qt6-base-dev qt6-tools-dev qt6-l10n-tools libqrencode-dev capnproto libcapnp-dev -y
98+
sudo pip3 install --break-system-packages pycapnp
9899
- name: Compile and run tests
99100
run: |
100101
# Run tests on commits after the last merge commit and before the PR head commit
@@ -152,6 +153,11 @@ jobs:
152153
brew install --quiet python@3 || brew link --overwrite python@3
153154
brew install --quiet coreutils ninja pkgconf gnu-getopt ccache boost libevent zeromq qt@6 qrencode capnp
154155
156+
- name: Install Python packages
157+
run: |
158+
git clone -b v2.1.0 https://github.com/capnproto/pycapnp
159+
pip3 install ./pycapnp -C force-bundled-libcapnp=True --break-system-packages
160+
155161
- name: Set Ccache directory
156162
run: echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV"
157163

ci/test/00_setup_env_native_asan.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ fi
2020

2121
export CONTAINER_NAME=ci_native_asan
2222
export APT_LLVM_V="21"
23-
export PACKAGES="systemtap-sdt-dev clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libclang-rt-${APT_LLVM_V}-dev python3-zmq qt6-base-dev qt6-tools-dev qt6-l10n-tools libevent-dev libboost-dev libzmq3-dev libqrencode-dev libsqlite3-dev ${BPFCC_PACKAGE} libcapnp-dev capnproto"
23+
export PACKAGES="systemtap-sdt-dev clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libclang-rt-${APT_LLVM_V}-dev python3-zmq qt6-base-dev qt6-tools-dev qt6-l10n-tools libevent-dev libboost-dev libzmq3-dev libqrencode-dev libsqlite3-dev ${BPFCC_PACKAGE} libcapnp-dev capnproto python3-pip"
24+
export PIP_PACKAGES="--break-system-packages pycapnp"
2425
export NO_DEPENDS=1
2526
export GOAL="install"
2627
export CI_LIMIT_STACK_SIZE=1

0 commit comments

Comments
 (0)