[librsvg/librsvg-2.52: 15/19] Disable clippy/fmt/coverage jobs for the librsvg-2.52 branch
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.52: 15/19] Disable clippy/fmt/coverage jobs for the librsvg-2.52 branch
- Date: Thu, 17 Feb 2022 03:49:56 +0000 (UTC)
commit 1bf3eb5b4bfccc20d2555a465cc5e4e9e87137ab
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Feb 16 19:32:02 2022 -0600
Disable clippy/fmt/coverage jobs for the librsvg-2.52 branch
The CI image used here does not contain the necessary binaries
anymore. Let's wait for the main branch to become the stable one;
that one has CI templates and all the goodies.
.gitlab-ci.yml | 90 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eba4f4ca7..35037a3ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,33 +61,33 @@ check:
script:
- sudo -E cargo check --all-targets
-fmt:
- stage: lint
- extends: '.cache'
- needs:
- - job: check
- script:
- - sudo -E cargo fmt --all -- --check
-
-clippy:
- stage: lint
- extends: '.cache'
- needs:
- - job: check
- script:
- - cargo clippy --version
- - gitlab-clippy --version
- - sudo -E cargo clippy
- after_script:
- - sudo -E cargo clippy --message-format=json | /opt/cargo/bin/gitlab-clippy -o
gl-code-quality-report.json
- artifacts:
- reports:
- codequality: gl-code-quality-report.json
- expire_in: 1 week
- rules:
- - if: '$CODE_QUALITY_DISABLED'
- when: never
- - if: '$CI_PIPELINE_SOURCE == "push"'
+# fmt:
+# stage: lint
+# extends: '.cache'
+# needs:
+# - job: check
+# script:
+# - sudo -E cargo fmt --all -- --check
+
+# clippy:
+# stage: lint
+# extends: '.cache'
+# needs:
+# - job: check
+# script:
+# - cargo clippy --version
+# - gitlab-clippy --version
+# - sudo -E cargo clippy
+# after_script:
+# - sudo -E cargo clippy --message-format=json | /opt/cargo/bin/gitlab-clippy -o
gl-code-quality-report.json
+# artifacts:
+# reports:
+# codequality: gl-code-quality-report.json
+# expire_in: 1 week
+# rules:
+# - if: '$CODE_QUALITY_DISABLED'
+# when: never
+# - if: '$CI_PIPELINE_SOURCE == "push"'
cargo_test:
stage: unit test
@@ -106,24 +106,24 @@ cargo_test:
script:
- sudo -E cargo test -- --skip loading_crash --skip reference --skip render_crash
-coverage:
- image: "rustlang/rust:nightly-bullseye"
- stage: unit test
- needs:
- - job: check
- artifacts: false
- variables:
- RUSTFLAGS: "-Zinstrument-coverage"
- RUSTDOCFLAGS: "-Zinstrument-coverage"
- LLVM_PROFILE_FILE: "coverage-%p-%m.profraw"
- before_script:
- - apt update -yqq && apt install -yqq --no-install-recommends libgdk-pixbuf2.0-dev libpango1.0-dev
libcairo2-dev lcov
- - rustup component add llvm-tools-preview
- - curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf
-
- script:
- - cargo +nightly test --no-fail-fast || true
- - ./grcov . --binary-path ./target/debug/ --source-dir . --output-type lcov --llvm --ignore-not-existing
--ignore "*cargo*" --output-path lcov.info
- - lcov --summary lcov.info
+# coverage:
+# image: "rustlang/rust:nightly-bullseye"
+# stage: unit test
+# needs:
+# - job: check
+# artifacts: false
+# variables:
+# RUSTFLAGS: "-Zinstrument-coverage"
+# RUSTDOCFLAGS: "-Zinstrument-coverage"
+# LLVM_PROFILE_FILE: "coverage-%p-%m.profraw"
+# before_script:
+# - apt update -yqq && apt install -yqq --no-install-recommends libgdk-pixbuf2.0-dev libpango1.0-dev
libcairo2-dev lcov
+# - rustup component add llvm-tools-preview
+# - curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar
jxf -
+# script:
+# - cargo +nightly test --no-fail-fast || true
+# - ./grcov . --binary-path ./target/debug/ --source-dir . --output-type lcov --llvm
--ignore-not-existing --ignore "*cargo*" --output-path lcov.info
+# - lcov --summary lcov.info
cargo_bench:
stage: unit test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]