Skip to content

Commit

Permalink
chore: Add bootstrap_cache for avm-transpiler (#4357)
Browse files Browse the repository at this point in the history
Allows the avm-transpiler binary to be downloaded from the CI cache
instead of built locally if BOOTSTRAP_USE_REMOTE_CACHE is set.
  • Loading branch information
spalladino committed Feb 1, 2024
1 parent 43b58b3 commit bfebebb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions avm-transpiler/bootstrap_cache.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eu

cd "$(dirname "$0")"
source ../build-system/scripts/setup_env '' '' mainframe_$USER > /dev/null

echo -e "\033[1mRetrieving avm-transpiler from remote cache...\033[0m"
extract_repo avm-transpiler \
/usr/src/avm-transpiler/target/release/avm-transpiler ./target/release/

0 comments on commit bfebebb

Please sign in to comment.