Skip to content

Commit 9b35679

Browse files
committed
Install kani into container
Install kani in the container to be able to run proofs. Signed-off-by: Matias Ezequiel Vara Larsen <[email protected]>
1 parent 8a7b5ba commit 9b35679

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build_container.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,9 @@ if [ "$ARCH" == "riscv64" ]; then
151151
# Setup network
152152
echo $'auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet dhcp\n' > /etc/network/interfaces
153153
fi
154+
155+
# Install kani in x86 and arm. Not available on riscv64, so skip there
156+
if [ "$ARCH" != "riscv64" ]; then
157+
cargo install --locked kani-verifier
158+
cargo kani setup
159+
fi

0 commit comments

Comments
 (0)