mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
rusty-cachier pipeline impovements and fixes (#11572)
This commit is contained in:
@@ -180,18 +180,22 @@ test-deterministic-wasm:
|
||||
- .test-refs
|
||||
variables:
|
||||
WASM_BUILD_NO_COLOR: 1
|
||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||
CARGO_TARGET_DIR: "./target"
|
||||
script:
|
||||
- rusty-cachier snapshot create
|
||||
# build runtime
|
||||
- cargo build --verbose --release -p node-runtime
|
||||
# make checksum
|
||||
- sha256sum /cargo_target_dir/release/wbuild/node-runtime/target/wasm32-unknown-unknown/release/node_runtime.wasm > checksum.sha256
|
||||
# clean up – FIXME: can we reuse some of the artifacts?
|
||||
- cargo clean
|
||||
- sha256sum $CARGO_TARGET_DIR/release/wbuild/node-runtime/target/wasm32-unknown-unknown/release/node_runtime.wasm > checksum.sha256
|
||||
# clean up
|
||||
- rm -rf $CARGO_TARGET_DIR/release/wbuild
|
||||
# build again
|
||||
- cargo build --verbose --release -p node-runtime
|
||||
# confirm checksum
|
||||
- sha256sum -c ./checksum.sha256
|
||||
# clean up again, don't put release binaries into the cache
|
||||
- rm -rf $CARGO_TARGET_DIR/release/wbuild
|
||||
- rusty-cachier cache upload
|
||||
|
||||
test-linux-stable:
|
||||
|
||||
Reference in New Issue
Block a user