[librsvg: 3/13] WIP: run the coverage job with stable rust




commit 3ca4a72f652f592494c650488aa47ad3e7661cfc
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Aug 2 16:57:08 2022 -0500

    WIP: run the coverage job with stable rust
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/724>

 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43c64fc90..febd77556 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -263,19 +263,20 @@ coverage:
     - .cache
   stage: unit test
   needs:
-    - job: opensuse-container@x86_64.nightly
+    - job: opensuse-container@x86_64.stable
     - job: check
       artifacts: false
   variables:
     # Mixed gcc and Rust/LLVM coverage for the C API tests:
     # https://searchfox.org/mozilla-central/source/browser/config/mozconfigs/linux64/code-coverage#15
+    CC: "clang"
     CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
     # RUSTFLAGS: "-Cinstrument-coverage"
     RUSTDOCFLAGS: "-Cinstrument-coverage"
     LLVM_PROFILE_FILE: "coverage-profiles/coverage-%p-%m.profraw"
     LDFLAGS: "--coverage -L/usr/lib64/clang/14.0.6/lib/linux"
     LIBS: "-lclang_rt.profile-x86_64"
-    RUSTFLAGS: "-Ccodegen-units=1 -Zprofile -Cpanic=abort -Zpanic_abort_tests -Clink-dead-code 
-Coverflow-checks=off"    
+    RUSTFLAGS: "-Cinstrument-coverage -Ccodegen-units=1 -Cpanic=abort -Zpanic_abort_tests -Clink-dead-code 
-Coverflow-checks=off"
   script:
     - mkdir -p _build
     - cd _build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]