From 729d9f0fbd06888a056a9fbd45873277407d7fd6 Mon Sep 17 00:00:00 2001 From: Dafna Matsry Date: Tue, 16 Jul 2024 14:27:46 +0300 Subject: [PATCH] chore: copy build_native_blockifier.sh --- build_native_blockifier.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 build_native_blockifier.sh diff --git a/build_native_blockifier.sh b/build_native_blockifier.sh new file mode 100755 index 0000000000..3c3879485e --- /dev/null +++ b/build_native_blockifier.sh @@ -0,0 +1,16 @@ +#!/bin/env bash +set -e + +docker_image_name=blockifier-ci +docker build . -t ${docker_image_name} + +docker run \ + --rm \ + --net host \ + -e CARGO_HOME=${HOME}/.cargo \ + -u $UID \ + -v /tmp:/tmp \ + -v "${HOME}:${HOME}" \ + --workdir ${PWD} \ + ${docker_image_name} \ + cargo build --release -p native_blockifier --features "testing"