Skip to content

Commit

Permalink
Fix paths for Cumulus
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed May 23, 2022
1 parent 71267a8 commit 7044920
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/cumulus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ jobs:
strategy:
fail-fast: false
matrix:
chain: ["statemine", "statemint", "westmint", "rococo-parachain", "shell"]

name: Build ${{ matrix.chain }}
include:
- category: contracts
runtime: contracts-rococo
- category: assets
runtime: statemine
- category: assets
runtime: statemint
- category: starters
runtime: shell
name: Build ${{ matrix.category }}/${{ matrix.runtime }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -51,12 +58,12 @@ jobs:
with:
image: ${{ github.event.inputs.srtool_image || env.DEFAULT_IMAGE }}
tag: ${{ github.event.inputs.srtool_tag }}
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}
chain: ${{ matrix.runtime }}
runtime_dir: parachains/runtime/${{ matrix.category }}/${{ matrix.runtime }}
workdir: "${{ github.workspace }}/repo"

- name: Summary
run: |
echo '${{ steps.srtool_build.outputs.json }}' | jq . | tee ${{ matrix.chain }}-srtool-digest.json
echo '${{ steps.srtool_build.outputs.json }}' | jq . | tee ${{ matrix.runtime }}-srtool-digest.json
echo "Compact Runtime location : ${{ steps.srtool_build.outputs.wasm }}"
echo "Compressed Runtime location : ${{ steps.srtool_build.outputs.wasm_compressed }}"

0 comments on commit 7044920

Please sign in to comment.