2016-07-28 17:34:32 +02:00
|
|
|
stages:
|
2016-09-07 20:47:34 +02:00
|
|
|
- build
|
2016-09-07 20:50:05 +02:00
|
|
|
- test
|
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 08:16:06 +01:00
|
|
|
RUSTFLAGS: "-D warnings"
|
2016-07-28 17:34:32 +02:00
|
|
|
cache:
|
|
|
|
key: "$CI_BUILD_NAME/$CI_BUILD_REF_NAME"
|
|
|
|
untracked: true
|
2016-09-07 18:49:44 +02:00
|
|
|
linux-stable:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:stable
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- cargo build --release --verbose
|
|
|
|
- strip target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/release/parity >> parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-21 16:19:34 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/parity --body target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/parity.md5 --body parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-09-07 18:49:44 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-stable
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-21 13:45:21 +02:00
|
|
|
- target/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "stable-x86_64-unknown-linux-gnu_parity"
|
2016-09-24 00:02:26 +02:00
|
|
|
linux-stable-14.04:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-14.04:latest
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
|
|
|
script:
|
|
|
|
- cargo build --release --verbose
|
|
|
|
- strip target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/release/parity >> parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-24 00:02:26 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-ubuntu_14_04-gnu/parity --body target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-ubuntu_14_04-gnu/parity.md5 --body parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-ubuntu_14_04-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-ubuntu_14_04-gnu/"parity_"$VER"_amd64.deb.md5" --body "parity_"$VER"_amd64.deb.md5"
|
2016-09-24 00:02:26 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-14.04
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity
|
|
|
|
name: "stable-x86_64-unknown-ubuntu_14_04-gnu_parity"
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-beta:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:beta
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
|
|
|
- cargo build --release --verbose
|
|
|
|
- strip target/release/parity
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-beta
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-21 13:45:21 +02:00
|
|
|
- target/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "beta-x86_64-unknown-linux-gnu_parity"
|
2016-09-14 14:00:43 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-nightly:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust:nightly
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
|
|
|
- cargo build --release --verbose
|
|
|
|
- strip target/release/parity
|
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-nightly
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-21 13:45:21 +02:00
|
|
|
- target/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "nigthly-x86_64-unknown-linux-gnu_parity"
|
2016-08-23 18:18:13 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-centos:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-centos:latest
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
|
|
|
- export CXX="g++"
|
|
|
|
- export CC="gcc"
|
|
|
|
- cargo build --release --verbose
|
|
|
|
- strip target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/release/parity >> parity.md5
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-24 00:02:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity --body target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity.md5 --body parity.md5
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-centos
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-21 13:45:21 +02:00
|
|
|
- target/release/parity
|
2016-09-24 00:02:26 +02:00
|
|
|
name: "x86_64-unknown-centos-gnu_parity"
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-armv7:
|
|
|
|
stage: build
|
2016-09-21 15:48:01 +02:00
|
|
|
image: ethcore/rust-armv7:latest
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
2016-10-26 21:12:05 +02:00
|
|
|
- master
|
2016-08-18 18:41:33 +02:00
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
2016-10-27 04:53:51 +02:00
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- export CXX=arm-linux-gnueabihf-g++
|
2016-10-27 09:00:05 +02:00
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
2016-09-07 20:47:34 +02:00
|
|
|
- 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
|
2016-07-28 17:34:32 +02:00
|
|
|
- cargo build --target armv7-unknown-linux-gnueabihf --release --verbose
|
|
|
|
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/armv7-unknown-linux-gnueabihf/release/parity >> parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-24 00:02:26 +02:00
|
|
|
- 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
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/armv7-unknown-linux-gnueabihf/parity.md5 --body parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-24 00:02:26 +02:00
|
|
|
- target/armv7-unknown-linux-gnueabihf/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "armv7_unknown_linux_gnueabihf_parity"
|
2016-09-07 19:26:18 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-arm:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/rust-arm:latest
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
2016-10-26 21:12:05 +02:00
|
|
|
- master
|
2016-08-18 18:41:33 +02:00
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
2016-10-27 04:53:51 +02:00
|
|
|
- export CC=arm-linux-gnueabihf-gcc
|
|
|
|
- export CXX=arm-linux-gnueabihf-g++
|
2016-10-27 09:00:05 +02:00
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
2016-09-14 09:35:09 +02:00
|
|
|
- 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
|
2016-07-28 17:34:32 +02:00
|
|
|
- cargo build --target arm-unknown-linux-gnueabihf --release --verbose
|
|
|
|
- arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/arm-unknown-linux-gnueabihf/release/parity >> parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-24 00:02:26 +02:00
|
|
|
- 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
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabihf/parity.md5 --body parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-24 00:02:26 +02:00
|
|
|
- target/arm-unknown-linux-gnueabihf/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "arm-unknown-linux-gnueabihf_parity"
|
2016-08-23 18:18:13 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-armv6:
|
|
|
|
stage: build
|
2016-09-21 15:48:01 +02:00
|
|
|
image: ethcore/rust-armv6:latest
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
2016-10-27 04:53:51 +02:00
|
|
|
- export CC=arm-linux-gnueabi-gcc
|
|
|
|
- export CXX=arm-linux-gnueabi-g++
|
2016-10-27 09:00:05 +02:00
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
2016-09-14 09:35:09 +02:00
|
|
|
- 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
|
2016-07-28 17:34:32 +02:00
|
|
|
- cargo build --target arm-unknown-linux-gnueabi --release --verbose
|
|
|
|
- arm-linux-gnueabi-strip target/arm-unknown-linux-gnueabi/release/parity
|
2016-10-30 09:55:46 +01:00
|
|
|
- md5sum target/arm-unknown-linux-gnueabi/release/parity >> parity.md5
|
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-24 00:02:26 +02:00
|
|
|
- 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
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/arm-unknown-linux-gnueabi/parity.md5 --body parity.md5
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-24 00:02:26 +02:00
|
|
|
- target/arm-unknown-linux-gnueabi/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "arm-unknown-linux-gnueabi_parity"
|
2016-08-23 18:18:13 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
linux-aarch64:
|
|
|
|
stage: build
|
2016-09-21 15:48:01 +02:00
|
|
|
image: ethcore/rust-aarch64:latest
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
2016-10-26 21:12:05 +02:00
|
|
|
- master
|
2016-08-18 18:41:33 +02:00
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
2016-10-27 04:53:51 +02:00
|
|
|
- export CC=aarch64-linux-gnu-gcc
|
|
|
|
- export CXX=aarch64-linux-gnu-g++
|
2016-10-27 09:00:05 +02:00
|
|
|
- export HOST_CC=gcc
|
|
|
|
- export HOST_CXX=g++
|
2016-09-14 09:35:09 +02:00
|
|
|
- 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
|
2016-07-28 17:34:32 +02:00
|
|
|
- cargo build --target aarch64-unknown-linux-gnu --release --verbose
|
|
|
|
- aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/aarch64-unknown-linux-gnu/release/parity >> parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 13:45:21 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-24 00:02:26 +02:00
|
|
|
- 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
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/parity.md5 --body parity.md5
|
2016-10-26 05:57:35 +02:00
|
|
|
- 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"
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust
|
|
|
|
- rust-arm
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-24 00:02:26 +02:00
|
|
|
- target/aarch64-unknown-linux-gnu/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "aarch64-unknown-linux-gnu_parity"
|
2016-08-23 18:18:13 +02:00
|
|
|
allow_failure: true
|
2016-07-28 17:34:32 +02:00
|
|
|
darwin:
|
|
|
|
stage: build
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
script:
|
|
|
|
- cargo build --release --verbose
|
2016-10-27 18:13:51 +02:00
|
|
|
- rm -rf parity.md5
|
2016-10-12 17:37:26 +02:00
|
|
|
- md5sum target/release/parity >> parity.md5
|
2016-10-30 09:55:46 +01:00
|
|
|
- aws configure set aws_access_key_id $s3_key
|
2016-09-21 15:48:01 +02:00
|
|
|
- aws configure set aws_secret_access_key $s3_secret
|
2016-09-21 16:19:34 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity --body target/release/parity
|
2016-10-12 17:37:26 +02:00
|
|
|
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity.md5 --body parity.md5
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2016-09-21 15:48:01 +02:00
|
|
|
- target/release/parity
|
2016-09-14 09:35:09 +02:00
|
|
|
name: "x86_64-apple-darwin_parity"
|
2016-07-28 17:34:32 +02:00
|
|
|
windows:
|
|
|
|
stage: build
|
2016-08-18 18:41:33 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- beta
|
|
|
|
- tags
|
|
|
|
- stable
|
2016-07-28 17:34:32 +02:00
|
|
|
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
|
2016-10-30 13:05:33 +01:00
|
|
|
- set RUSTFLAGS=%RUSTFLAGS% -Zorbit=off
|
2016-07-28 17:34:32 +02:00
|
|
|
- rustup default stable-x86_64-pc-windows-msvc
|
|
|
|
- cargo build --release --verbose
|
2016-10-12 08:26:37 +02:00
|
|
|
- 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
|
2016-10-12 11:20:30 +02:00
|
|
|
- signtool sign /f %keyfile% /p %certpass% target\release\parity.exe
|
2016-10-12 17:37:26 +02:00
|
|
|
- cd nsis
|
|
|
|
- makensis.exe installer.nsi
|
2016-10-12 19:21:33 +02:00
|
|
|
- copy installer.exe InstallParity.exe
|
2016-10-12 17:37:26 +02:00
|
|
|
- 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 ..\..
|
2016-09-24 00:02:26 +02:00
|
|
|
- aws configure set aws_access_key_id %s3_key%
|
|
|
|
- aws configure set aws_secret_access_key %s3_secret%
|
2016-10-12 17:37:26 +02:00
|
|
|
- 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
|
2016-07-28 17:34:32 +02:00
|
|
|
tags:
|
|
|
|
- rust-windows
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/parity.exe
|
|
|
|
- target/release/parity.pdb
|
2016-10-12 19:21:33 +02:00
|
|
|
- nsis/InstallParity.exe
|
2016-10-12 18:39:58 +02:00
|
|
|
name: "x86_64-pc-windows-msvc_parity"
|
2016-08-26 17:07:05 +02:00
|
|
|
test-linux:
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
2016-09-28 21:50:37 +02:00
|
|
|
- export RUST_BACKTRACE=1
|
2016-10-31 08:16:06 +01:00
|
|
|
- ./test.sh --verbose --no-release
|
2016-09-07 18:49:44 +02:00
|
|
|
tags:
|
2016-09-08 16:58:18 +02:00
|
|
|
- rust-test
|
2016-08-26 17:07:05 +02:00
|
|
|
dependencies:
|
|
|
|
- linux-stable
|
2016-10-28 18:04:00 +02:00
|
|
|
test-darwin:
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
|
|
|
- export RUST_BACKTRACE=1
|
2016-10-31 08:16:06 +01:00
|
|
|
- ./test.sh --verbose --no-release
|
2016-10-28 18:04:00 +02:00
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
dependencies:
|
|
|
|
- darwin
|
|
|
|
test-windows:
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
2016-10-28 20:47:05 +02:00
|
|
|
- set RUST_BACKTRACE=1
|
|
|
|
- PowerShell ./test.sh --verbose
|
2016-10-28 18:04:00 +02:00
|
|
|
tags:
|
|
|
|
- rust-windows
|
|
|
|
dependencies:
|
|
|
|
- windows
|
Initial new UI source code import (#2607)
* address -> name mappings
* expanding, loading all coin details
* send use only actual BasicCoin tokens registered (any reg)
* sending token & accounts
* form styling updates
* send form layout in place
* coin send working as expected
* api subscriptions on multiple addresses
* bring in events
* simplify
* basic events display in-place, functionally complete
* basic functionality in-place
* fix horrible event address issue
* rwork display of events slightly
* test TLA availability
* table for owner -> tokens
* fix signature lookup address
* fix signature lookup address
* basic overview styling
* txhash links
* page layout adjustments
* background import
* adjust colors
* no global registration, simplify color selection
* updated styling
* connection dialog for "busy connecting"
* initial token connection - WIP
* init token updates take place
* basic test for manual token
* rework connection display
* allow updates of the secure token
* first stab at making the build build
* update runner tags
* fix linting issues
* skip tests requiring network (should be e2e, TODO)
* re-enable javascript tag/runner
* release push does the trick
* push to any branch, CI name
* javscript-test runner as well
* swap dependencies build requires test
* revert stages swap
* retrieve images associated with tokens
* remove js build deps order
* null image when hash = 0x0
* 6x64 images (hashes for registries)
* don't pass tokens as prop to IdentityIcon
* check images against content hash pictures
* cleanup signer after connection changes
* fix naming typo
* display unknownImages for balances (not available as content hash)
* unknownImage for transfer dialog
* basic githubhint layout
* single input for commit/filename
* ethcore_hashContent call
* lookup hash
* registration in place
* fixes
* events is using a proper table
* pass value through as-is
* stop wrongly using main app IdentityIcon
* NEVER export class instance functions
* alignment back to normal
* typo in definition
* set & get images working (mostly)
* show content retrieval info
* set exitcode via ||
* use javascript:latest images
* disable npm progress bar
* rename phase I
* rename phase II
* only send build output to GitHub on major branches
* also run the build step as part of the test (until comprehensive)
* ci-specific build (no webpack progress)
* allow for account creation via recovery phrase
* display account uuid (where available), closes #2546
* connection dialog now shows up in dapps as well, closes #2538
* token images show up as expected
* IdentityName component added and deployed
* fix padding tests
* adjust tests to map to stricter 0x-prefixed hex
* render names via common component for the address -> name
* split lint into seperate script (early exit)
* test phases changed to lint, test & pack
* pack part of test phase
* remove files marked for deletion (cleanup)
* Signer cleanups, start moving in the direction of the rest
* add personal signer methods
* basic signer request subscription
* don't poll blockNumber when not connected
* missing return, creating massive ws queue backlogs
* ΞTH -> ETH
* fix failing tests
* registry uses setAddress to actually set addresses now
* bytes mapping operates on lowerCase hex strings
* sha3 ids for each application
* add dappreg to list of contracts
* adjust alignment of queries
* show gas estimation log
* abi with payable for register function
* add key as required
* image retrieval from dappreg
* use proper Image urls
* embed and link apps from Parity, retrieved via /api/apps
* filter apps that has been replaced
* proxy entry for parity-utils
* add basiccoin abi
* add support for fallback abi type
* capture constructor paramaters
* merge master into js
* move images to assets/images/
* add font assets
* import fonts as part of build
* don't inline woff files
* Revert "merge master into js"
This reverts commit cfcfa81bd26f1b3cbc748d3afa1eb5c670b363fe.
* remove unused npm packages
* information on gas estimates (like almost everywhere else)
* don't pass gas & gasPrice to estimation
* display account passwordhint when available
* signer subscriptions based on polling & function trapping
* pending requests retrieved via jsapi
* update signer middleware
* remove all web3 instances
* remove web3 package
* last web3 dependencies removed
* no need to toChecksumAddress - api takes care of it
* expand description for personal_confirmRequest
* Signer conversion from web3 -> parity.js completed
* explicit in no return
* green circle background
* remove generated background
* convert /api/* paths to localhost:8080/api/* paths (hard-coded, temporary)
* change dapps to load from localhost:8080/ui/*
* remove dangling web3 files
* update manager test for signer
* /api/ping -> /
* additional token images
* additional token images
* add missing styles.css for 8180 error pages
* cater for txhash returning null/empty object
* adjust output directories
* Release merge with origin with ours strategy
* additional token images
* cater for development server
* s/localhost/127.0.0.1/ (cater for origin)
* Fix address selection for contract deployment
* Adjust z-index for error overlay
* better text on unique background pattern
* fix signer rejections
* Don't allow gavcoin transfer with no balance
* fix txhash rendering in signer
* remove unnecessary ParityBackground
* script to update js-precompiled
* Redirect from :8080 to :8180
* Remove extra return
* Dapp logo images
2016-10-18 11:52:56 +02:00
|
|
|
js-release:
|
|
|
|
stage: build
|
|
|
|
image: ethcore/javascript:latest
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/build.sh
|
|
|
|
- ./js/scripts/release.sh
|
|
|
|
tags:
|
|
|
|
- javascript
|
|
|
|
js-lint:
|
|
|
|
stage: test
|
|
|
|
image: ethcore/javascript:latest
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/lint.sh
|
|
|
|
tags:
|
|
|
|
- javascript-test
|
|
|
|
js-test:
|
|
|
|
stage: test
|
|
|
|
image: ethcore/javascript:latest
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/test.sh
|
|
|
|
tags:
|
|
|
|
- javascript-test
|
|
|
|
js-pack:
|
|
|
|
stage: test
|
|
|
|
image: ethcore/javascript:latest
|
|
|
|
before_script:
|
|
|
|
- ./js/scripts/install-deps.sh
|
|
|
|
script:
|
|
|
|
- ./js/scripts/build.sh
|
|
|
|
tags:
|
|
|
|
- javascript-test
|