[librsvg/librsvg-2.48] Sudo for "cargo fmt" and "make distcheck" in the CI



commit e871228593b18408ecf560e88758860df377868c
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jun 11 11:32:13 2020 -0500

    Sudo for "cargo fmt" and "make distcheck" in the CI
    
    Analogous to the last commits.

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22047493..a44df5f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -158,7 +158,7 @@ rustfmt:
   script:
     - rustc --version && cargo --version
     - cargo fmt --version
-    - cargo fmt --all -- --check
+    - sudo cargo fmt --all -- --check
 
 # Configure and run clippy on nightly
 # Only fails on errors atm.
@@ -180,7 +180,7 @@ tarball:
     LIBRSVG_DEBUG: "yes"
   script:
     - cd _build
-    - make distcheck DESTDIR=/tmp/distcheck
+    - sudo make distcheck DESTDIR=/tmp/distcheck
 
 # STAGE 3 CROSS DISTRO TESTS
 #######################################################################


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