Skip to content
Snippets Groups Projects
Commit 1b8211dd authored by Benjamin Kampmann's avatar Benjamin Kampmann Committed by GitHub
Browse files

CI Regression Test for determinism of our wasm runtimes (#1372)


* deterministic build check runtime

* fix yaml

* Apply suggestions from code review

Co-authored-by: default avatars3krit <pugh@s3kr.it>

* Update cargo.lock

Co-authored-by: default avatars3krit <pugh@s3kr.it>
parent dddde219
Branches
No related merge requests found
......@@ -105,6 +105,23 @@ publish-draft-release:
interruptible: true
allow_failure: true
test-deterministic-wasm:
stage: test
<<: *docker-env
except:
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
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment