Skip to content

Commit 1c559f8

Browse files
authored
Do not build std (#27)
1 parent ca96b1a commit 1c559f8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,14 @@ runs:
193193
- id: build
194194
name: Build ${{ env.PACKAGE }} using ${{ env.SRTOOL_IMAGE }}
195195
shell: bash
196+
env:
197+
# https://github.com/paritytech/polkadot-sdk/pull/2217
198+
WASM_BUILD_STD: "0"
196199
run: |
197200
echo ::group::Srtool build of chain ${{ inputs.chain }}
198-
CMD="docker run -i --rm -e PACKAGE=${{ env.PACKAGE }} -e RUNTIME_DIR=${{ env.RUNTIME_DIR }} -e BUILD_OPTS -e PARACHAIN_PALLET_ID -e AUTHORIZE_UPGRADE_PREFIX -e PROFILE -v ${{ env.WORKDIR }}:/build ${{ env.SRTOOL_IMAGE }} build --app --json -cM"
201+
CMD="docker run -i --rm -e PACKAGE=${{ env.PACKAGE }} -e RUNTIME_DIR=${{ env.RUNTIME_DIR }} -e BUILD_OPTS -e
202+
PARACHAIN_PALLET_ID -e AUTHORIZE_UPGRADE_PREFIX -e PROFILE -e WASM_BUILD_STD -v ${{ env.WORKDIR }}:/build ${{ env.SRTOOL_IMAGE
203+
}} build --app --json -cM"
199204
200205
echo ::debug::build::docker_run $CMD
201206
# here we keep streaming the progress and fetch the last line for the json result

0 commit comments

Comments
 (0)