2016-07-28 17:34:32 +02:00
|
|
|
stages:
|
2016-11-04 10:07:23 +01:00
|
|
|
- test
|
|
|
|
- js-build
|
2016-11-04 10:17:16 +01:00
|
|
|
- build
|
2016-07-28 17:34:32 +02:00
|
|
|
variables:
|
|
|
|
GIT_DEPTH: "3"
|
2016-10-30 09:55:46 +01:00
|
|
|
SIMPLECOV: "true"
|
2016-07-28 17:34:32 +02:00
|
|
|
RUST_BACKTRACE: "1"
|
2016-10-31 09:47:47 +01:00
|
|
|
RUSTFLAGS: ""
|
2016-10-31 10:36:30 +01:00
|
|
|
CARGOFLAGS: ""
|
2016-07-28 17:34:32 +02:00
|
|
|
cache:
|
2016-11-07 14:49:00 +01:00
|
|
|
key: "CI_BUILD_STAGE/$CI_BUILD_REF_NAME"
|
2016-07-28 17:34:32 +02:00
|
|
|
untracked: true
|
2016-11-07 14:06:19 +01:00
|
|
|
linux-stable:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:stable
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- cargo build --release $CARGOFLAGS
|
|
|
|
- strip target/release/parity
|
|
|
|
- md5sum target/release/parity >> parity.md5
|
|
|
|
- sh scripts/deb-build.sh amd64
|
|
|
|
- cp target/release/parity deb/usr/bin/parity
|
|
|
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
|
|
|
- dpkg-deb -b deb "parity_"$VER"_amd64.deb"
|
|
|
|
- md5sum "parity_"$VER"_amd64.deb" >> "parity_"$VER"_amd64.deb.md5"
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/parity --body target/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/parity.md5 --body parity.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/"parity_"$VER"_amd64.deb" --body "parity_"$VER"_amd64.deb"
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/"parity_"$VER"_amd64.deb.md5" --body "parity_"$VER"_amd64.deb.md5"
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-stable
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "stable-x86_64-unknown-linux-gnu_parity"
|
|
|
|
linux-beta:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:beta
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- cargo build --release $CARGOFLAGS
|
|
|
|
- strip target/release/parity
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-beta
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "beta-x86_64-unknown-linux-gnu_parity"
|
|
|
|
allow_failure: true
|
|
|
|
linux-nightly:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:nightly
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- cargo build --release $CARGOFLAGS
|
|
|
|
- strip target/release/parity
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-nightly
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "nigthly-x86_64-unknown-linux-gnu_parity"
|
|
|
|
allow_failure: true
|
|
|
|
linux-centos:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-centos:latest
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export CXX="g++"
|
|
|
|
- export CC="gcc"
|
|
|
|
- cargo build --release $CARGOFLAGS
|
|
|
|
- strip target/release/parity
|
|
|
|
- md5sum target/release/parity >> parity.md5
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity --body target/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity.md5 --body parity.md5
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-centos
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "x86_64-unknown-centos-gnu_parity"
|
2016-08-23 18:18:13 +02:00
|
|
|
allow_failure: true
|
2016-11-07 17:20:06 +01:00
|
|
|
linux-i686:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-i686:latest
|
|
|
|
only:
|
|
|
|
- beta
|
2016-11-07 14:45:16 +01:00
|
|
|
# - tags
|
2016-11-07 17:20:06 +01:00
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
|
|
|
- cargo build --target i686-unknown-linux-gnu --release $CARGOFLAGS
|
|
|
|
- strip target/i686-unknown-linux-gnu/release/parity
|
|
|
|
- md5sum target/i686-unknown-linux-gnu/release/parity >> parity.md5
|
|
|
|
- sh scripts/deb-build.sh i386
|
|
|
|
- cp target/i686-unknown-linux-gnu/release/parity deb/usr/bin/parity
|
|
|
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
|
|
|
- dpkg-deb -b deb "parity_"$VER"_i386.deb"
|
|
|
|
- md5sum "parity_"$VER"_i386.deb" >> "parity_"$VER"_i386.deb.md5"
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/parity --body target/i686-unknown-linux-gnu/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/parity.md5 --body parity.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/"parity_"$VER"_i386.deb" --body "parity_"$VER"_i386.deb"
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/"parity_"$VER"_i386.deb.md5" --body "parity_"$VER"_i386.deb.md5"
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-i686
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/i686-unknown-linux-gnu/release/parity
|
|
|
|
name: "i686-unknown-linux-gnu"
|
|
|
|
allow_failure: true
|
2016-11-07 14:06:19 +01:00
|
|
|
linux-armv7:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-armv7:latest
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- export CXX=arm-linux-gnueabihf-g++
|
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
|
|
|
- rm -rf .cargo
|
|
|
|
- mkdir -p .cargo
|
|
|
|
- echo "[target.armv7-unknown-linux-gnueabihf]" >> .cargo/config
|
|
|
|
- echo "linker= \"arm-linux-gnueabihf-gcc\"" >> .cargo/config
|
|
|
|
- cat .cargo/config
|
|
|
|
- cargo build --target armv7-unknown-linux-gnueabihf --release $CARGOFLAGS
|
|
|
|
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
|
|
|
- md5sum target/armv7-unknown-linux-gnueabihf/release/parity >> parity.md5
|
|
|
|
- sh scripts/deb-build.sh armhf
|
|
|
|
- cp target/armv7-unknown-linux-gnueabihf/release/parity deb/usr/bin/parity
|
|
|
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
|
|
|
- dpkg-deb -b deb "parity_"$VER"_armhf.deb"
|
|
|
|
- md5sum "parity_"$VER"_armhf.deb" >> "parity_"$VER"_armhf.deb.md5"
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/armv7-unknown-linux-gnueabihf/parity --body target/armv7-unknown-linux-gnueabihf/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/armv7-unknown-linux-gnueabihf/parity.md5 --body parity.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/armv7-unknown-linux-gnueabihf/"parity_"$VER"_armhf.deb" --body "parity_"$VER"_armhf.deb"
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/armv7-unknown-linux-gnueabihf/"parity_"$VER"_armhf.deb.md5" --body "parity_"$VER"_armhf.deb.md5"
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/armv7-unknown-linux-gnueabihf/release/parity
|
|
|
|
name: "armv7_unknown_linux_gnueabihf_parity"
|
|
|
|
allow_failure: true
|
|
|
|
linux-arm:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-arm:latest
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- export CXX=arm-linux-gnueabihf-g++
|
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
|
|
|
- rm -rf .cargo
|
|
|
|
- mkdir -p .cargo
|
|
|
|
- echo "[target.arm-unknown-linux-gnueabihf]" >> .cargo/config
|
|
|
|
- echo "linker= \"arm-linux-gnueabihf-gcc\"" >> .cargo/config
|
|
|
|
- cat .cargo/config
|
|
|
|
- cargo build --target arm-unknown-linux-gnueabihf --release $CARGOFLAGS
|
|
|
|
- arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/parity
|
|
|
|
- md5sum target/arm-unknown-linux-gnueabihf/release/parity >> parity.md5
|
|
|
|
- sh scripts/deb-build.sh armhf
|
|
|
|
- cp target/arm-unknown-linux-gnueabihf/release/parity deb/usr/bin/parity
|
|
|
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
|
|
|
- dpkg-deb -b deb "parity_"$VER"_armhf.deb"
|
|
|
|
- md5sum "parity_"$VER"_armhf.deb" >> "parity_"$VER"_armhf.deb.md5"
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabihf/parity --body target/arm-unknown-linux-gnueabihf/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabihf/parity.md5 --body parity.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabihf/"parity_"$VER"_armhf.deb" --body "parity_"$VER"_armhf.deb"
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabihf/"parity_"$VER"_armhf.deb.md5" --body "parity_"$VER"_armhf.deb.md5"
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/arm-unknown-linux-gnueabihf/release/parity
|
|
|
|
name: "arm-unknown-linux-gnueabihf_parity"
|
|
|
|
allow_failure: true
|
|
|
|
linux-armv6:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-armv6:latest
|
|
|
|
only:
|
2016-11-07 17:20:06 +01:00
|
|
|
# - beta
|
|
|
|
# - tags
|
2016-11-07 14:06:19 +01:00
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export CC=arm-linux-gnueabi-gcc
|
|
|
|
- export CXX=arm-linux-gnueabi-g++
|
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
|
|
|
- rm -rf .cargo
|
|
|
|
- mkdir -p .cargo
|
|
|
|
- echo "[target.arm-unknown-linux-gnueabi]" >> .cargo/config
|
|
|
|
- echo "linker= \"arm-linux-gnueabi-gcc\"" >> .cargo/config
|
|
|
|
- cat .cargo/config
|
|
|
|
- cargo build --target arm-unknown-linux-gnueabi --release $CARGOFLAGS
|
|
|
|
- arm-linux-gnueabi-strip target/arm-unknown-linux-gnueabi/release/parity
|
|
|
|
- md5sum target/arm-unknown-linux-gnueabi/release/parity >> parity.md5
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabi/parity --body target/arm-unknown-linux-gnueabi/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabi/parity.md5 --body parity.md5
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/arm-unknown-linux-gnueabi/release/parity
|
|
|
|
name: "arm-unknown-linux-gnueabi_parity"
|
|
|
|
allow_failure: true
|
|
|
|
linux-aarch64:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-aarch64:latest
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- export CC=aarch64-linux-gnu-gcc
|
|
|
|
- export CXX=aarch64-linux-gnu-g++
|
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
|
|
|
- rm -rf .cargo
|
|
|
|
- mkdir -p .cargo
|
|
|
|
- echo "[target.aarch64-unknown-linux-gnu]" >> .cargo/config
|
|
|
|
- echo "linker= \"aarch64-linux-gnu-gcc\"" >> .cargo/config
|
|
|
|
- cat .cargo/config
|
|
|
|
- cargo build --target aarch64-unknown-linux-gnu --release $CARGOFLAGS
|
|
|
|
- aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/parity
|
|
|
|
- md5sum target/aarch64-unknown-linux-gnu/release/parity >> parity.md5
|
|
|
|
- sh scripts/deb-build.sh arm64
|
|
|
|
- cp target/aarch64-unknown-linux-gnu/release/parity deb/usr/bin/parity
|
|
|
|
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
|
|
|
- dpkg-deb -b deb "parity_"$VER"_arm64.deb"
|
|
|
|
- md5sum "parity_"$VER"_arm64.deb" >> "parity_"$VER"_arm64.deb.md5"
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/parity --body target/aarch64-unknown-linux-gnu/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/parity.md5 --body parity.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/"parity_"$VER"_arm64.deb" --body "parity_"$VER"_arm64.deb"
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/"parity_"$VER"_arm64.deb.md5" --body "parity_"$VER"_arm64.deb.md5"
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/aarch64-unknown-linux-gnu/release/parity
|
|
|
|
name: "aarch64-unknown-linux-gnu_parity"
|
|
|
|
allow_failure: true
|
|
|
|
darwin:
|
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
2016-11-08 13:33:22 +01:00
|
|
|
- cargo build --release -p ethstore $CARGOFLAGS
|
2016-11-07 14:06:19 +01:00
|
|
|
- cargo build --release $CARGOFLAGS
|
|
|
|
- rm -rf parity.md5
|
|
|
|
- md5sum target/release/parity >> parity.md5
|
2016-11-08 13:33:22 +01:00
|
|
|
- packagesbuild -v mac/Parity.pkgproj
|
|
|
|
- mv target/release/Parity\ Ethereum.pkg parity-1.4.0-osx-installer-EXPERIMENTAL.pkg
|
|
|
|
- md5sum parity-1.4.0-osx-installer-EXPERIMENTAL.pkg >> parity-1.4.0-osx-installer-EXPERIMENTAL.pkg.md5
|
2016-11-07 14:06:19 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity --body target/release/parity
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity.md5 --body parity.md5
|
2016-11-08 13:33:22 +01:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity-1.4.0-osx-installer-EXPERIMENTAL.pkg --body parity-1.4.0-osx-installer-EXPERIMENTAL.pkg
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity-1.4.0-osx-installer-EXPERIMENTAL.pkg.md5 --body parity-1.4.0-osx-installer-EXPERIMENTAL.pkg.md5
|
2016-11-07 14:06:19 +01:00
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "x86_64-apple-darwin_parity"
|
|
|
|
windows:
|
2016-11-07 14:49:00 +01:00
|
|
|
cache:
|
|
|
|
key: "%CI_BUILD_STAGE%/%CI_BUILD_REF_NAME%"
|
|
|
|
untracked: true
|
2016-11-07 14:06:19 +01:00
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
|
|
|
|
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64
|
|
|
|
- set RUST_BACKTRACE=1
|
|
|
|
- set RUSTFLAGS=%RUSTFLAGS% -Zorbit=off
|
|
|
|
- rustup default stable-x86_64-pc-windows-msvc
|
|
|
|
- cargo build --release %CARGOFLAGS%
|
|
|
|
- curl -sL --url "https://github.com/ethcore/win-build/raw/master/SimpleFC.dll" -o nsis\SimpleFC.dll
|
|
|
|
- curl -sL --url "https://github.com/ethcore/win-build/raw/master/vc_redist.x64.exe" -o nsis\vc_redist.x64.exe
|
|
|
|
- signtool sign /f %keyfile% /p %certpass% target\release\parity.exe
|
2016-11-08 09:55:32 +01:00
|
|
|
- msbuild windows\ptray\ptray.vcxproj /p:Platform=x64 /p:Configuration=Release
|
2016-11-08 11:05:51 +01:00
|
|
|
- signtool sign /f %keyfile% /p %certpass% windows\ptray\x64\release\ptray.exe
|
2016-11-07 14:06:19 +01:00
|
|
|
- cd nsis
|
|
|
|
- makensis.exe installer.nsi
|
|
|
|
- copy installer.exe InstallParity.exe
|
|
|
|
- signtool sign /f %keyfile% /p %certpass% InstallParity.exe
|
|
|
|
- md5sums InstallParity.exe > InstallParity.exe.md5
|
|
|
|
- zip win-installer.zip InstallParity.exe InstallParity.exe.md5
|
|
|
|
- md5sums win-installer.zip > win-installer.zip.md5
|
|
|
|
- cd ..\target\release\
|
|
|
|
- md5sums parity.exe parity.pdb > parity.md5
|
|
|
|
- md5sums parity.exe > parity.exe.md5
|
|
|
|
- zip parity.zip parity.exe parity.pdb parity.md5
|
|
|
|
- md5sums parity.zip > parity.zip.md5
|
|
|
|
- cd ..\..
|
|
|
|
- aws configure set aws_access_key_id %s3_key%
|
|
|
|
- aws configure set aws_secret_access_key %s3_secret%
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/parity.exe --body target\release\parity.exe
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/parity.exe.md5 --body target\release\parity.exe.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/parity.zip --body target\release\parity.zip
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/parity.zip.md5 --body target\release\parity.zip.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/InstallParity.exe --body nsis\InstallParity.exe
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/InstallParity.exe.md5 --body nsis\InstallParity.exe.md5
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/win-installer.zip --body nsis\win-installer.zip
|
|
|
|
- aws s3api put-object --bucket builds-parity --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/win-installer.zip.md5 --body nsis\win-installer.zip.md5
|
|
|
|
tags:
|
|
|
|
- rust-windows
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity.exe
|
|
|
|
- target/release/parity.pdb
|
|
|
|
- nsis/InstallParity.exe
|
|
|
|
name: "x86_64-pc-windows-msvc_parity"
|
|
|
|
test-darwin:
|
|
|
|
stage: test
|
|
|
|
only:
|
2016-11-07 14:45:16 +01:00
|
|
|
# - beta
|
|
|
|
# - tags
|
2016-11-07 14:06:19 +01:00
|
|
|
- stable
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
|
|
|
- export RUST_BACKTRACE=1
|
|
|
|
- ./test.sh $CARGOFLAGS --no-release
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
test-windows:
|
|
|
|
stage: test
|
|
|
|
only:
|
2016-11-07 14:45:16 +01:00
|
|
|
# - beta
|
|
|
|
# - tags
|
2016-11-07 14:06:19 +01:00
|
|
|
- stable
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
|
|
|
- set RUST_BACKTRACE=1
|
|
|
|
- cargo test --features json-tests -p rlp -p ethash -p ethcore -p ethcore-bigint -p ethcore-dapps -p ethcore-rpc -p ethcore-signer -p ethcore-util -p ethcore-network -p ethcore-io -p ethkey -p ethstore -p ethsync -p ethcore-ipc -p ethcore-ipc-tests -p ethcore-ipc-nano -p parity %CARGOFLAGS% --verbose --release
|
|
|
|
tags:
|
|
|
|
- rust-windows
|
|
|
|
allow_failure: true
|
|
|
|
test-rust-stable:
|
|
|
|
stage: test
|
|
|
|
image: ethcore/rust:stable
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- export JS_FILES_MODIFIED=$(git --no-pager diff --name-only CI_BUILD_REF CI_BUILD_REF@{1} | grep \.js | wc -l)
|
|
|
|
- echo $JS_FILES_MODIFIED
|
|
|
|
- if [ -z $JS_FILES_MODIFIED ]; then echo "skip js test"; fi
|
|
|
|
script:
|
|
|
|
- export RUST_BACKTRACE=1
|
|
|
|
- echo $JS_FILES_MODIFIED
|
|
|
|
- if [ -z $JS_FILES_MODIFIED ]; then echo "skip js test"; else ./test.sh $CARGOFLAGS --no-release; fi
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-stable
|
|
|
|
js-tests:
|
|
|
|
stage: test
|
|
|
|
image: ethcore/rust:stable
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/lint.sh
|
|
|
|
- ./js/scripts/test.sh
|
|
|
|
- ./js/scripts/build.sh
|
|
|
|
tags:
|
|
|
|
- javascript-test
|
|
|
|
js-release:
|
|
|
|
stage: js-build
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- stable
|
|
|
|
image: ethcore/rust:stable
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/build.sh
|
|
|
|
- ./js/scripts/release.sh
|
|
|
|
tags:
|
|
|
|
- javascript
|