Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-02 09:12:21 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-03 12:05:49 +0300
commite73e27cda4d3bbade25c07a6b41258c0b2e8235e (patch)
tree1dc2276f082b83c56013d6ef4c554333e00994d2 /.gitlab-ci.yml
parent13d4029f702f0dc4820bfe79fe79f9c93efaf0e8 (diff)
ci: include gst-ci
- Use gst-ci's stages instead of our own - Override GIT_STRATEGY for Rust only builds as gst-ci relies on gst-build subprojects by default. First step merging our Rust CI with gst-ci. Once this is merged we'll enable Rust in gst-ci builds and so will guard gst-plugins-rs MR against breaking gst-build.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 13 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6bc861d12..133b9aada 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,4 @@
-stages:
- - "lint"
- - "test"
- - "extras"
+include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml"
.tarball_setup:
variables:
@@ -61,7 +58,9 @@ stages:
.cargo test:
extends: '.tarball_setup'
- stage: "test"
+ stage: "build"
+ variables:
+ GIT_STRATEGY: 'fetch'
script:
- rustc --version
- cargo build --color=always --all
@@ -90,7 +89,9 @@ test nightly:
rustfmt:
image: "rust:slim-buster"
- stage: "lint"
+ stage: "preparation"
+ variables:
+ GIT_STRATEGY: 'fetch'
script:
- rustup component add rustfmt
- cargo fmt --version
@@ -99,7 +100,9 @@ rustfmt:
clippy:
extends: '.tarball_setup'
image: "rust:slim-buster"
- stage: 'extras'
+ stage: 'test'
+ variables:
+ GIT_STRATEGY: 'fetch'
script:
- rustup component add clippy-preview
- cargo clippy --color=always --all --all-features --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless
@@ -107,7 +110,9 @@ clippy:
audit:
extends: '.tarball_setup'
image: "rust:slim-buster"
- stage: 'extras'
+ stage: 'test'
+ variables:
+ GIT_STRATEGY: 'fetch'
only:
- schedules
script: