Skip to content

Commit c82fa4c

Browse files
committed
Test the Docker image flow in CI
Builds the image with podman and runs the flow zisk-shell drives: ziskup installs the pinned CPU release binaries (no key — the proving keys are multi-GB; the fork key script is syntax-checked only, and ix CI exercises that flow for real), then smoke-tests cargo-zisk and cargo-zisk-dev.
1 parent 3223073 commit c82fa4c

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/nix.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Nix CI
22

33
on:
44
push:
5-
branches: main
5+
branches: [main, blake3-precompile]
66
pull_request:
77
workflow_dispatch:
88

@@ -37,3 +37,23 @@ jobs:
3737
# Realize the dev shell so it's verified and pushed to the cache,
3838
# and smoke-test the toolchain entrypoint.
3939
- run: nix develop --print-build-logs --accept-flake-config --command cargo-zisk --version
40+
41+
docker-image:
42+
name: Docker Image
43+
runs-on: warp-ubuntu-latest-x64-8x
44+
steps:
45+
- uses: actions/checkout@v6
46+
# The RUN heredoc needs podman >= 4.3 (ubuntu-24.04 runners ship 4.9).
47+
- run: podman build -f docker/Dockerfile -t cargo-zisk:ci .
48+
# Exercise the flow zisk-shell drives: install the pinned release
49+
# binaries (--nokey: the proving keys are multi-GB downloads; the fork
50+
# key flow is only syntax-checked here — ix CI exercises it for real)
51+
# and smoke-test the installed toolchain.
52+
- run: |
53+
podman run --rm cargo-zisk:ci bash -c '
54+
set -ex
55+
bash -n /root/.zisk/bin/install-proving-key
56+
ziskup --cpu --nokey -y
57+
cargo-zisk --version
58+
cargo-zisk-dev --version
59+
'

0 commit comments

Comments
 (0)