Skip to content

refactor: reorganize project #4261

refactor: reorganize project

refactor: reorganize project #4261

name: I2::Dev::Wasm
on:
pull_request:
branches: [main]
paths:
- 'libs/iroha_data_model/**.rs'
- 'libs/iroha_data_model/**.yml'
- 'libs/iroha_data_model/**.json'
- 'libs/iroha_data_model/**.toml'
- 'libs/iroha_smart_contract/**.rs'
- 'libs/iroha_smart_contract/**.yml'
- 'libs/iroha_smart_contract/**.json'
- 'libs/iroha_smart_contract/**.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUSTUP_TOOLCHAIN: nightly-2024-04-18
jobs:
tests:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2024-04-18
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install iroha_wasm_test_runner
run: cargo install --path bins/iroha_wasm_test_runner
- name: Run smart contract tests on WebAssembly VM
working-directory: smart_contract
run: mold --run cargo test -p iroha_smart_contract -p iroha_smart_contract_utils --release --tests --target wasm32-unknown-unknown --no-fail-fast --quiet