Skip to content

Commit

Permalink
Add ibc-reflect to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jan 13, 2021
1 parent f6160af commit df092b4
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ workflows:
- package_vm_cranelift
- contract_burner
- contract_hackatom
- contract_ibc_reflect
- contract_queue
- contract_reflect
- contract_staking
Expand Down Expand Up @@ -333,6 +334,60 @@ jobs:
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_hackatom-rust:1.47.0-{{ checksum "Cargo.lock" }}

contract_ibc_reflect:
docker:
- image: rust:1.47.0
environment:
RUST_BACKTRACE: 1
working_directory: ~/cosmwasm/contracts/ibc-reflect
steps:
- checkout:
path: ~/cosmwasm
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-v2-contract_ibc_reflect-rust:1.47.0-{{ checksum "Cargo.lock" }}
- run:
name: Add wasm32 target
command: rustup target add wasm32-unknown-unknown && rustup target list --installed
- run:
name: Build wasm binary
command: cargo wasm --locked
- run:
name: Unit tests
command: cargo unit-test --locked
- run:
name: Integration tests (cranelift backend)
command: cargo integration-test --locked
- run:
name: Integration tests (singlepass backend)
command: cargo integration-test --locked --no-default-features
- run:
name: Build and run schema generator
command: cargo schema --locked
- run:
name: Ensure schemas are up-to-date
command: |
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
- save_cache:
paths:
- /usr/local/cargo/registry
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
- target/wasm32-unknown-unknown/release/.fingerprint
- target/wasm32-unknown-unknown/release/build
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_ibc_reflect-rust:1.47.0-{{ checksum "Cargo.lock" }}


contract_queue:
docker:
- image: rust:1.47.0
Expand Down

0 comments on commit df092b4

Please sign in to comment.