Skip to content

Commit

Permalink
ci: exclude soroban build
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan committed Sep 26, 2024
1 parent ea1c5f5 commit 907b3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/optimize-cosmwasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rustup target add wasm32-unknown-unknown
cargo install [email protected] --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 ..."
Expand Down Expand Up @@ -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."
echo "The size of all contracts is well within the $MAX_WASM_SIZE KB limit."

0 comments on commit 907b3c2

Please sign in to comment.