From a447ed8a5533e9973a90afe4915dfa7d168ac254 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Sun, 24 Dec 2023 19:06:25 +0100 Subject: [PATCH] Invoke yum as SU in pipeline --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3258bf4b..0ce80c69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ building_stage: - echo "Getting system info ..." - cat /etc/os-release - echo "Installing dependencies" - - yum install -y g++ gfortran make + - sudo yum install -y g++ gfortran make - cd src - echo "Running make" - make @@ -69,7 +69,7 @@ running_stage: - echo $CI_COMMIT_SHA - echo $CI_COMMIT_BRANCH - echo "Updating system" - - yum install -y g++ gfortran gdb + - sudo yum install -y g++ gfortran gdb - cd build/sphere - echo "Running np_sphere" - chmod +x np_sphere @@ -99,7 +99,7 @@ testing_stage: - echo $CI_COMMIT_SHA - echo $CI_COMMIT_BRANCH - echo "Updating system" - - yum install -y python3 + - sudo yum install -y python3 - cd build/sphere - export FFILE=../../test_data/sphere/OSPH - echo "Comparing output of SPHERE" -- GitLab