Skip to content

Commit

Permalink
fix: WASM compilation in release pipeline (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntn-x2 authored Aug 30, 2024
1 parent 2fe7195 commit e1cbf8d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ workflow:
stages:
- build

variables:
PARACHAIN_PALLET_ID: 0x50
AUTHORIZE_UPGRADE_PREFIX: 0x02
AUTHORIZE_UPGRADE_CHECK_VERSION: true

build-wasms:
build-wasm:
image:
name: paritytech/srtool:1.74.0
name: paritytech/srtool:1.75.0
entrypoint: [""]
stage: build
parallel:
Expand All @@ -21,6 +16,9 @@ build-wasms:
script:
- export PACKAGE=${RUNTIME}-runtime
- export RUNTIME_DIR=runtimes/${RUNTIME}
- export PARACHAIN_PALLET_ID=0x50
- export AUTHORIZE_UPGRADE_PREFIX=0x02
- export AUTHORIZE_UPGRADE_CHECK_VERSION=true
- cp -r * /build
- /srtool/build build
- subwasm meta --format=json+scale /out/${RUNTIME}_runtime.compact.wasm > /out/${RUNTIME}-metadata.json
Expand Down

0 comments on commit e1cbf8d

Please sign in to comment.