Skip to content

Commit c3ea6c8

Browse files
committed
ci(helm): install z3 build deps on bare runner
The openshell-cli build pulls in z3-sys, which needs z3's C/C++ headers plus clang to generate bindings. The bare runner used by helm-e2e doesn't ship them, so install them via apt before invoking mise run e2e:helm. The CI container image other Rust e2e jobs use has these deps preinstalled, but we can't switch helm-e2e to that container because GHA's container handler injects its own --network bridge, conflicting with the --network host that kind's host-loopback API server needs to be reachable from inside the container. Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
1 parent 1ffed51 commit c3ea6c8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/branch-helm-e2e.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ jobs:
7777
- name: Install tools
7878
run: mise install --locked
7979

80+
# The openshell-policy crate transitively pulls in z3-sys, whose
81+
# build script needs the z3 C/C++ headers and clang/bindgen to
82+
# compile. The bare runner doesn't ship them; the CI container
83+
# image used by other Rust e2e jobs does, but we can't run helm-e2e
84+
# there (the runner's container handler injects its own --network
85+
# bridge, which conflicts with the --network host we need so kind's
86+
# API server is reachable from the test process).
87+
- name: Install z3 build deps
88+
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libz3-dev clang
89+
8090
- name: Log in to GHCR
8191
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
8292

0 commit comments

Comments
 (0)