Skip to content

Commit

Permalink
fix(ci): return exit status in build native blockifier script (#3944)
Browse files Browse the repository at this point in the history
  • Loading branch information
adi-yakovian-starkware authored Feb 13, 2025
1 parent f910383 commit 5221c60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build_native_blockifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ function clean() {


function build() {
ret=0
echo "Building..."
pypy3.9 -m venv /tmp/venv
source /tmp/venv/bin/activate
cargo build --release -p native_blockifier --features "cairo_native" || clean
cargo build --release -p native_blockifier --features "cairo_native" || ret=$?
clean
return $ret
}

build

0 comments on commit 5221c60

Please sign in to comment.