Skip to content

Commit

Permalink
chore: copy build_native_blockifier.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dafnamatsry committed Jul 16, 2024
1 parent 12a991a commit af4b6d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build_native_blockifier.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit af4b6d0

Please sign in to comment.