Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
deterministic build check runtime
  • Loading branch information
gnunicorn committed Jul 7, 2020
commit 2ba3ed8dd40cd2a09df03d43f2c575d6b405b225
21 changes: 21 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,27 @@ publish-draft-release:
interruptible: true
allow_failure: true

test-deterministic-wasm: &test-linux
stage: test
<<: *docker-env
variables:
<<: *default-vars
except:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gnunicorn I think you forgot something here, and somewhy it passed the YAML linter without having a value. When do you want to run this job?

variables:
- $DEPLOY_TAG
script:
# build runtime
- WASM_BUILD_NO_COLOR=1 cargo build --verbose --release -p kusama-runtime -p polkadot-runtime -p westend-runtime
# make checksum
- sha256sum target/release/wbuild/target/wasm32-unknown-unknown/release/*.wasm > checksum.sha256
# clean up – FIXME: can we reuse some of the artifacts?
- cargo clean
# build again
- WASM_BUILD_NO_COLOR=1 cargo build --verbose --release -p kusama-runtime -p polkadot-runtime -p westend-runtime
# confirm checksum
- sha256sum -c checksum.sha256


test-linux-stable: &test
stage: test
<<: *test-refs
Expand Down