Skip to content

Commit

Permalink
Do not build std (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Dec 7, 2023
1 parent ca96b1a commit 1c559f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Expand Up @@ -193,9 +193,14 @@ runs:
- id: build
name: Build ${{ env.PACKAGE }} using ${{ env.SRTOOL_IMAGE }}
shell: bash
env:
# https://github.com/paritytech/polkadot-sdk/pull/2217
WASM_BUILD_STD: "0"
run: |
echo ::group::Srtool build of chain ${{ inputs.chain }}
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"
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 -e WASM_BUILD_STD -v ${{ env.WORKDIR }}:/build ${{ env.SRTOOL_IMAGE
}} build --app --json -cM"
echo ::debug::build::docker_run $CMD
# here we keep streaming the progress and fetch the last line for the json result
Expand Down

0 comments on commit 1c559f8

Please sign in to comment.