This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
CI Regression Test for determinism of our wasm runtimes #1372
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2ba3ed8
deterministic build check runtime
gnunicorn 5ee2a28
fix yaml
gnunicorn d76ffb7
Apply suggestions from code review
gnunicorn 7a62e87
Merge remote-tracking branch 'origin/master' into ben-deterministic-wasm
gnunicorn 6052337
Update cargo.lock
gnunicorn 8c44b5d
Merge branch 'ben-deterministic-wasm' of github.com:paritytech/polkad…
gnunicorn File filter
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
commit 2ba3ed8dd40cd2a09df03d43f2c575d6b405b225
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
gnunicorn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 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 | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.