Skip to content

Commit

Permalink
Switch to cosmwasm-check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Jan 18, 2023
1 parent 5e15380 commit f785c64
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,22 +545,17 @@ jobs:
(cd $C && cargo build --release --target wasm32-unknown-unknown --locked)
done
- run:
name: Install check_contract
name: Install cosmwasm-check
# Uses --debug for compilation speed.
command: cargo install --debug --features iterator --example check_contract --version 1.0.0 -- cosmwasm-vm
command: cargo install --debug --version 1.1.5 cosmwasm-check
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-wasm-rust:1.66.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Check wasm contracts
command: |
for W in ./target/wasm32-unknown-unknown/release/*.wasm
do
echo -n "Checking $(basename $W) ... "
check_contract --supported-features iterator,staking,stargate,tgrade $W
done
command: cosmwasm-check --supported-features iterator,staking,stargate,tgrade ./target/wasm32-unknown-unknown/release/*.wasm

# This job roughly follows the instructions from https://circleci.com/blog/publishing-to-github-releases-via-circleci/
build_and_upload_contracts:
Expand Down

0 comments on commit f785c64

Please sign in to comment.