while working on the platform tests make them non-breaking (#9563)
* while working on the platform tests make them non-critical * ci: unify test stage job names and torelate more failures * ci: restore valid yaml * ci: allow beta and nightly rust builds to fail
This commit is contained in:
parent
753fd4bda3
commit
bbaac0c6a9
@ -49,18 +49,32 @@ cache:
|
|||||||
- export VERSION
|
- export VERSION
|
||||||
- echo "Version = ${VERSION}"
|
- echo "Version = ${VERSION}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### stage: test
|
#### stage: test
|
||||||
|
|
||||||
test-rust-stable: &test
|
test-linux-rust-stable: &test
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- scripts/gitlab/test.sh stable
|
- scripts/gitlab/test.sh stable
|
||||||
tags:
|
tags:
|
||||||
- rust-stable
|
- rust-stable
|
||||||
|
|
||||||
test-darwin-macos-x86_64:
|
test-linux-rust-beta:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- scripts/gitlab/test.sh beta
|
||||||
|
tags:
|
||||||
|
- rust-stable
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
test-linux-rust-nightly:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- scripts/gitlab/test.sh nightly
|
||||||
|
tags:
|
||||||
|
- rust-stable
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
test-darwin-rust-stable:
|
||||||
stage: test
|
stage: test
|
||||||
variables:
|
variables:
|
||||||
CARGO_TARGET: x86_64-apple-darwin
|
CARGO_TARGET: x86_64-apple-darwin
|
||||||
@ -70,8 +84,9 @@ test-darwin-macos-x86_64:
|
|||||||
- scripts/gitlab/test.sh stable
|
- scripts/gitlab/test.sh stable
|
||||||
tags:
|
tags:
|
||||||
- osx
|
- osx
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
test-linux-android-armhf:
|
test-android-rust-stable:
|
||||||
stage: test
|
stage: test
|
||||||
image: parity/rust-android:gitlab-ci
|
image: parity/rust-android:gitlab-ci
|
||||||
variables:
|
variables:
|
||||||
@ -80,8 +95,9 @@ test-linux-android-armhf:
|
|||||||
- scripts/gitlab/test.sh stable
|
- scripts/gitlab/test.sh stable
|
||||||
tags:
|
tags:
|
||||||
- rust-arm
|
- rust-arm
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
test-windows-msvc-x86_64:
|
test-windows-rust-stable:
|
||||||
stage: test
|
stage: test
|
||||||
cache:
|
cache:
|
||||||
key: "%CI_JOB_NAME%"
|
key: "%CI_JOB_NAME%"
|
||||||
@ -95,10 +111,7 @@ test-windows-msvc-x86_64:
|
|||||||
- sh scripts/gitlab/test.sh stable
|
- sh scripts/gitlab/test.sh stable
|
||||||
tags:
|
tags:
|
||||||
- rust-windows
|
- rust-windows
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.optional_test: &optional_test
|
.optional_test: &optional_test
|
||||||
<<: *test
|
<<: *test
|
||||||
@ -106,16 +119,6 @@ test-windows-msvc-x86_64:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
test-rust-beta:
|
|
||||||
<<: *optional_test
|
|
||||||
script:
|
|
||||||
- scripts/gitlab/test.sh beta
|
|
||||||
|
|
||||||
test-rust-nightly:
|
|
||||||
<<: *optional_test
|
|
||||||
script:
|
|
||||||
- scripts/gitlab/test.sh nightly
|
|
||||||
|
|
||||||
test-lint-rustfmt:
|
test-lint-rustfmt:
|
||||||
<<: *optional_test
|
<<: *optional_test
|
||||||
script:
|
script:
|
||||||
@ -127,15 +130,11 @@ test-lint-clippy:
|
|||||||
- scripts/gitlab/clippy.sh
|
- scripts/gitlab/clippy.sh
|
||||||
|
|
||||||
test-coverage-kcov:
|
test-coverage-kcov:
|
||||||
stage: test
|
<<: *optional_test
|
||||||
only:
|
|
||||||
- master
|
|
||||||
script:
|
script:
|
||||||
- scripts/gitlab/coverage.sh
|
- scripts/gitlab/coverage.sh
|
||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
|
|
||||||
#### stage: build
|
#### stage: build
|
||||||
|
|
||||||
@ -158,6 +157,7 @@ build-linux-ubuntu-i386:
|
|||||||
CARGO_TARGET: i686-unknown-linux-gnu
|
CARGO_TARGET: i686-unknown-linux-gnu
|
||||||
tags:
|
tags:
|
||||||
- rust-i686
|
- rust-i686
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
build-linux-ubuntu-arm64:
|
build-linux-ubuntu-arm64:
|
||||||
<<: *build
|
<<: *build
|
||||||
@ -167,6 +167,7 @@ build-linux-ubuntu-arm64:
|
|||||||
CARGO_TARGET: aarch64-unknown-linux-gnu
|
CARGO_TARGET: aarch64-unknown-linux-gnu
|
||||||
tags:
|
tags:
|
||||||
- rust-arm
|
- rust-arm
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
build-linux-ubuntu-armhf:
|
build-linux-ubuntu-armhf:
|
||||||
<<: *build
|
<<: *build
|
||||||
@ -176,6 +177,7 @@ build-linux-ubuntu-armhf:
|
|||||||
CARGO_TARGET: armv7-unknown-linux-gnueabihf
|
CARGO_TARGET: armv7-unknown-linux-gnueabihf
|
||||||
tags:
|
tags:
|
||||||
- rust-arm
|
- rust-arm
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
build-linux-android-armhf:
|
build-linux-android-armhf:
|
||||||
stage: build
|
stage: build
|
||||||
@ -187,6 +189,7 @@ build-linux-android-armhf:
|
|||||||
- scripts/gitlab/build-unix.sh
|
- scripts/gitlab/build-unix.sh
|
||||||
tags:
|
tags:
|
||||||
- rust-arm
|
- rust-arm
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
build-darwin-macos-x86_64:
|
build-darwin-macos-x86_64:
|
||||||
stage: build
|
stage: build
|
||||||
@ -218,7 +221,6 @@ build-windows-msvc-x86_64:
|
|||||||
- rust-windows
|
- rust-windows
|
||||||
<<: *collect_artifacts
|
<<: *collect_artifacts
|
||||||
|
|
||||||
|
|
||||||
#### stage: package
|
#### stage: package
|
||||||
|
|
||||||
package-linux-snap-amd64: &package_snap
|
package-linux-snap-amd64: &package_snap
|
||||||
@ -260,7 +262,6 @@ package-linux-snap-armhf:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build-linux-ubuntu-armhf
|
- build-linux-ubuntu-armhf
|
||||||
|
|
||||||
|
|
||||||
#### stage: publish
|
#### stage: publish
|
||||||
|
|
||||||
publish-linux-snap-amd64: &publish_snap
|
publish-linux-snap-amd64: &publish_snap
|
||||||
@ -332,7 +333,6 @@ publish-github-and-s3:
|
|||||||
tags:
|
tags:
|
||||||
- shell
|
- shell
|
||||||
|
|
||||||
|
|
||||||
####stage: docs
|
####stage: docs
|
||||||
|
|
||||||
docs-rpc-json:
|
docs-rpc-json:
|
||||||
|
Loading…
Reference in New Issue
Block a user