From aea995cf5579879f9bcf85c917ed1dc4019627b4 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Mon, 7 Nov 2016 20:45:16 +0700 Subject: [PATCH] Update gitlab-ci skip i686 skip windows and darwin test's Former-commit-id: 441657dc5f4c9b9ebf2a12af9a2be008d44dac40 --- .gitlab-ci.yml | 75 +++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a8e1f8d0..7cfc3fd38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ variables: RUST_BACKTRACE: "1" RUSTFLAGS: "" CARGOFLAGS: "" - NIGHTLY: "nigtly" + NIGHTLY: "nightly" cache: key: "$CI_BUILD_REF_NAME" untracked: true @@ -135,39 +135,40 @@ linux-centos: paths: - target/release/parity name: "x86_64-unknown-centos-gnu_parity" -linux-i686: - stage: build - image: ethcore/rust-i686:latest - only: - - $NIGHTLY - - beta - - tags - - 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 +#linux-i686: +# stage: build +# image: ethcore/rust-i686:latest +# only: +# - $NIGHTLY +# - beta +# - tags +# - 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 linux-armv7: stage: build image: ethcore/rust-armv7:latest @@ -395,8 +396,8 @@ windows: test-darwin: stage: test only: - - beta - - tags +# - beta +# - tags - stable before_script: - git submodule update --init --recursive @@ -408,8 +409,8 @@ test-darwin: test-windows: stage: test only: - - beta - - tags +# - beta +# - tags - stable before_script: - git submodule update --init --recursive