[PATCH] utilities/gitlab-ci: Fully update system before building

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

 



Some recent CI errors come from the incompatibility between packages
pre-installed in the docker image and the ones installed via pacman.

To avoid this, make a full system upgrade when installing the needed
packages.

Signed-off-by: Leonardo Bras <leobras.c@xxxxxxxxx>
---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utilities/gitlab-ci.yml b/utilities/gitlab-ci.yml
index 544b9373..bcda8712 100644
--- a/utilities/gitlab-ci.yml
+++ b/utilities/gitlab-ci.yml
@@ -9,7 +9,7 @@ test_codesamples:
     stage: test
 
     before_script:
-        - pacman --noconfirm -Sy make gcc liburcu
+        - pacman --noconfirm -Syu make gcc liburcu
 
     script:
         - make -C CodeSamples/
@@ -19,7 +19,7 @@ generate_pdfs:
     stage: build
 
     before_script:
-        - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
+        - pacman --noconfirm -Syu texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
 
     script:
-- 
2.41.0




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux