Update .gitlab-ci.yml

add strip and md5 to binary
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-05-12 15:10:21 +03:00 committed by GitHub
parent f6d224c3f8
commit 0ec0210d27
1 changed files with 4 additions and 0 deletions

View File

@ -21,11 +21,15 @@ linux-stable:
script: script:
- rustup default stable - rustup default stable
- cargo build -j $(nproc) -p pbtc --release - cargo build -j $(nproc) -p pbtc --release
- strip target/release/pbtc
- export SHA3=$(target/release/pbtc tools hash target/release/pbtc)
- md5sum target/release/pbtc > pbtc.md5
tags: tags:
- rust - rust
artifacts: artifacts:
paths: paths:
- target/release/pbtc - target/release/pbtc
- target/release/pbtc.md5
name: "stable-x86_64-unknown-linux-gnu_parity_bitcoin" name: "stable-x86_64-unknown-linux-gnu_parity_bitcoin"
docker-build: docker-build:
stage: build stage: build