From 907b3c24a9dc7ff8af9b968f6957998fdfbf3e9a Mon Sep 17 00:00:00 2001 From: Deepak Bomjan Date: Thu, 26 Sep 2024 08:19:53 +0545 Subject: [PATCH] ci: exclude soroban build --- scripts/optimize-cosmwasm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/optimize-cosmwasm.sh b/scripts/optimize-cosmwasm.sh index 769704fa..421eb303 100755 --- a/scripts/optimize-cosmwasm.sh +++ b/scripts/optimize-cosmwasm.sh @@ -36,7 +36,7 @@ rustup target add wasm32-unknown-unknown cargo install cosmwasm-check@2.1.1 --locked -RUSTFLAGS='-C link-arg=-s' cargo build --workspace --exclude test-utils --release --lib --target wasm32-unknown-unknown +RUSTFLAGS='-C link-arg=-s' cargo build --workspace --exclude contracts/soroban/contracts --exclude contracts/soroban/libs --exclude test-utils --release --lib --target wasm32-unknown-unknown for WASM in ./target/wasm32-unknown-unknown/release/*.wasm; do NAME=$(basename "$WASM" .wasm)${SUFFIX}.wasm echo "Creating intermediate hash for $NAME ..." @@ -90,4 +90,4 @@ exit 1 fi echo "$file : $size KB" done -echo "The size of all contracts is well within the $MAX_WASM_SIZE KB limit." \ No newline at end of file +echo "The size of all contracts is well within the $MAX_WASM_SIZE KB limit."