diff --git a/.github/workflows/build-misc.yml b/.github/workflows/build-misc.yml index d8d7aea7..d59f3fe6 100644 --- a/.github/workflows/build-misc.yml +++ b/.github/workflows/build-misc.yml @@ -43,6 +43,9 @@ jobs: rustup show rustup +nightly show + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true + - name: Build env: BIZINIKIWI_RUNTIME_TARGET: riscv diff --git a/.github/workflows/tests-linux-stable.yml b/.github/workflows/tests-linux-stable.yml index 3d89558f..dee95d1d 100644 --- a/.github/workflows/tests-linux-stable.yml +++ b/.github/workflows/tests-linux-stable.yml @@ -36,6 +36,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true - name: script id: required run: WASM_BUILD_NO_COLOR=1 cargo test -p pezstaging-node-cli --release --locked -- --ignored @@ -56,6 +58,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true - name: script id: required run: cargo nextest run --workspace --features runtime-benchmarks benchmark --locked --cargo-profile testnet --cargo-quiet @@ -86,6 +90,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true - name: script id: required run: | @@ -126,6 +132,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true - name: script id: required run: | diff --git a/.github/workflows/tests-misc.yml b/.github/workflows/tests-misc.yml index b15d9c57..1a0e412e 100644 --- a/.github/workflows/tests-misc.yml +++ b/.github/workflows/tests-misc.yml @@ -61,6 +61,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true - name: script run: | cd bizinikiwi/pezframe/examples/offchain-worker/ @@ -149,11 +151,14 @@ jobs: # either PR (including forks) or merge group (main repo) ref: ${{ matrix.branch == 'master' && matrix.branch || '' }} + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true + - name: script shell: bash run: | # Fail the step if any command in a pipeline errors out. - set -euo pipefail + set -euo pipefail ARTIFACTS_DIR=./artifacts BENCH_TRIE_READ=::trie::read::small BENCH_NODE_IMPORT=::node::import::sr25519::transfer_keep_alive::paritydb::small @@ -308,6 +313,9 @@ jobs: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true + - name: script run: | cargo build --locked -p zagros-runtime --features metadata-hash @@ -375,6 +383,9 @@ jobs: rustup show rustup +nightly show + - name: Add wasm32v1-none target + run: rustup target add wasm32v1-none || true + - name: script run: | PYTHONUNBUFFERED=x .github/scripts/check-each-crate.py ${{ matrix.index }} ${{ strategy.job-total }}