mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
WIP: Subkey release. (#3123)
* should decide on publishing * build subkey for linux * small fixes * wrong dir
This commit is contained in:
@@ -242,6 +242,28 @@ build-linux-release:
|
|||||||
- cp -r scripts/docker/* ./artifacts
|
- cp -r scripts/docker/* ./artifacts
|
||||||
- sccache -s
|
- sccache -s
|
||||||
|
|
||||||
|
build-linux-subkey:
|
||||||
|
stage: build
|
||||||
|
<<: *collect-artifacts
|
||||||
|
<<: *docker-env
|
||||||
|
# <<: *build-only
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $DEPLOY_TAG
|
||||||
|
script:
|
||||||
|
- cd ./subkey
|
||||||
|
- BUILD_DUMMY_WASM_BINARY=1 time cargo build --release --verbose
|
||||||
|
- cd ..
|
||||||
|
# - time cargo build --release
|
||||||
|
- sccache -s
|
||||||
|
- mkdir -p ./artifacts
|
||||||
|
- mv ./target/release/subkey ./artifacts/.
|
||||||
|
- echo -n "Subkey version = "
|
||||||
|
- ./artifacts/subkey --version |
|
||||||
|
sed -n -r 's/^subkey ([0-9.]+.*)/\1/p' |
|
||||||
|
tee ./artifacts/SUBKEY-VERSION;
|
||||||
|
- sha256sum ./artifacts/subkey | tee ./artifacts/subkey.sha256
|
||||||
|
|
||||||
build-rust-doc-release:
|
build-rust-doc-release:
|
||||||
stage: build
|
stage: build
|
||||||
<<: *docker-env
|
<<: *docker-env
|
||||||
@@ -266,6 +288,7 @@ build-rust-doc-release:
|
|||||||
stage: publish
|
stage: publish
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-linux-release
|
- build-linux-release
|
||||||
|
- build-linux-subkey
|
||||||
<<: *build-only
|
<<: *build-only
|
||||||
<<: *kubernetes-build
|
<<: *kubernetes-build
|
||||||
|
|
||||||
@@ -324,6 +347,7 @@ publish-s3-release:
|
|||||||
- aws s3 ls s3://${BUCKET}/${PREFIX}/latest/
|
- aws s3 ls s3://${BUCKET}/${PREFIX}/latest/
|
||||||
--recursive --human-readable --summarize
|
--recursive --human-readable --summarize
|
||||||
|
|
||||||
|
|
||||||
publish-s3-doc:
|
publish-s3-doc:
|
||||||
stage: publish
|
stage: publish
|
||||||
image: parity/awscli:latest
|
image: parity/awscli:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user