Skip to contentSkip to conversation

utilities/gitlab-ci: Fully update system before building

PATCH New Leonardo Bras 1 participant 1 message Aug 4, 2023

lore
Share & tools
lore
#0 lore raw

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

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.

---
 utilities/gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
utilities/gitlab-ci.yml +2 -2
index 544b9373..bcda8712 100644
@@ -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:
Signature · 1 line
2.41.0