Signature deposit #163
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Multichain Contract | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
paths: | |
- contract/** | |
env: | |
RUSTFLAGS: -D warnings | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-22.04-4core] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
- uses: Swatinem/rust-cache@v1 | |
- name: Compile Contract | |
run: cd ./contract && cargo build --target wasm32-unknown-unknown --release | |
- name: Test Contract | |
run: cd ./contract && cargo test --target x86_64-unknown-linux-gnu --release | |
env: | |
RUST_LOG: INFO | |
RUST_BACKTRACE: 1 |