From 4fb5533c503bd7dfb09d0269ef3ae433246a865a Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Thu, 7 Dec 2023 15:27:24 +0100 Subject: [PATCH 1/3] Use latest srtool-actions --- .github/workflows/manual-acala.yml | 2 +- .github/workflows/manual-fellow-runtimes.yml | 2 +- .github/workflows/manual-moonbeam.yml | 2 +- .github/workflows/manual-polkadot-sdk.yml | 2 +- .github/workflows/manual-shiden.yml | 2 +- .github/workflows/manual.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/manual-acala.yml b/.github/workflows/manual-acala.yml index dfea163..a80490b 100644 --- a/.github/workflows/manual-acala.yml +++ b/.github/workflows/manual-acala.yml @@ -34,7 +34,7 @@ jobs: - name: Srtool build id: srtool_build - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: chain: ${{ matrix.chain }} tag: ${{ github.event.inputs.srtool_tag }} diff --git a/.github/workflows/manual-fellow-runtimes.yml b/.github/workflows/manual-fellow-runtimes.yml index b6f8aed..fa512a8 100644 --- a/.github/workflows/manual-fellow-runtimes.yml +++ b/.github/workflows/manual-fellow-runtimes.yml @@ -124,7 +124,7 @@ jobs: - name: Srtool build id: srtool_build if: ${{ steps.cache_runtime.outputs.cache-hit != 'true' }} - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: workdir: fellows-runtimes chain: ${{ matrix.chain }} diff --git a/.github/workflows/manual-moonbeam.yml b/.github/workflows/manual-moonbeam.yml index 5b2c063..8346318 100644 --- a/.github/workflows/manual-moonbeam.yml +++ b/.github/workflows/manual-moonbeam.yml @@ -33,7 +33,7 @@ jobs: - name: Srtool build id: srtool_build - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: chain: ${{ matrix.chain }} tag: ${{ github.event.inputs.srtool_tag }} diff --git a/.github/workflows/manual-polkadot-sdk.yml b/.github/workflows/manual-polkadot-sdk.yml index 801b82a..19efa6e 100644 --- a/.github/workflows/manual-polkadot-sdk.yml +++ b/.github/workflows/manual-polkadot-sdk.yml @@ -131,7 +131,7 @@ jobs: - name: Srtool build id: srtool_build if: ${{ steps.cache_runtime.outputs.cache-hit != 'true' }} - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: workdir: sdk chain: ${{ matrix.chain }} diff --git a/.github/workflows/manual-shiden.yml b/.github/workflows/manual-shiden.yml index 7996954..afb4469 100644 --- a/.github/workflows/manual-shiden.yml +++ b/.github/workflows/manual-shiden.yml @@ -34,7 +34,7 @@ jobs: - name: Srtool build id: srtool_build - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: chain: ${{ matrix.chain }} tag: ${{ github.event.inputs.srtool_tag }} diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 54bc336..cb29cff 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -47,7 +47,7 @@ jobs: - name: Srtool build id: srtool_build - uses: chevdor/srtool-actions@v0.9.0 + uses: chevdor/srtool-actions@v0.9.1 with: chain: ${{ github.event.inputs.chain }} package: ${{ github.event.inputs.package }} From 0656be67861089ee8beed65c17f321b10636ddd3 Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Thu, 7 Dec 2023 16:15:42 +0100 Subject: [PATCH 2/3] Add WASM_BUILD_STD=0 for manual builds --- .github/workflows/quick-test.yml | 1 + .github/workflows/tests.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/quick-test.yml b/.github/workflows/quick-test.yml index 4990ca8..a7fc6d3 100644 --- a/.github/workflows/quick-test.yml +++ b/.github/workflows/quick-test.yml @@ -195,6 +195,7 @@ jobs: CMD="docker run --rm -i \ -e PACKAGE=$PACKAGE \ -e RUNTIME_DIR=$RUNTIME_DIR \ + -e WASM_BUILD_STD=0 \ -v ${PWD}:/build \ srtool build --app --json" echo ::debug::build::docker_run $CMD diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7a83389..a3ca360 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -190,6 +190,7 @@ jobs: CMD="docker run --rm -i \ -e PACKAGE=$PACKAGE \ -e RUNTIME_DIR=$RUNTIME_DIR \ + -e WASM_BUILD_STD=0 \ -v ${PWD}:/build \ srtool build --app --json" echo ::debug::build::docker_run $CMD @@ -342,6 +343,7 @@ jobs: CMD="docker run --rm -i \ -e PACKAGE=$PACKAGE \ -e RUNTIME_DIR=$RUNTIME_DIR \ + -e WASM_BUILD_STD=0 \ -v ${PWD}:/build \ srtool build --app --json" echo ::debug::build::docker_run $CMD @@ -458,6 +460,7 @@ jobs: CMD="docker run --rm -i \ -e PACKAGE=$PACKAGE \ -e RUNTIME_DIR=$RUNTIME_DIR \ + -e WASM_BUILD_STD=0 \ -v ${PWD}:/build \ srtool build --app --json" echo ::debug::build::docker_run $CMD From cab59972013bb0639e0ad8bbe9db03152256550d Mon Sep 17 00:00:00 2001 From: Wilfried Kopp Date: Thu, 7 Dec 2023 16:50:46 +0100 Subject: [PATCH 3/3] Swap removed runtime (asset-hub-polkasdot) for a valid one (asset-hub-westend) --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a3ca360..e457ded 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -407,7 +407,7 @@ jobs: - category: contracts chain: contracts-rococo - category: assets - chain: asset-hub-polkadot + chain: asset-hub-westend - category: starters chain: shell steps: