Skip to content
Snippets Groups Projects
Commit a447ed8a authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Invoke yum as SU in pipeline

parent 1c58d1c8
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ building_stage: ...@@ -43,7 +43,7 @@ building_stage:
- echo "Getting system info ..." - echo "Getting system info ..."
- cat /etc/os-release - cat /etc/os-release
- echo "Installing dependencies" - echo "Installing dependencies"
- yum install -y g++ gfortran make - sudo yum install -y g++ gfortran make
- cd src - cd src
- echo "Running make" - echo "Running make"
- make - make
...@@ -69,7 +69,7 @@ running_stage: ...@@ -69,7 +69,7 @@ running_stage:
- echo $CI_COMMIT_SHA - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- echo "Updating system" - echo "Updating system"
- yum install -y g++ gfortran gdb - sudo yum install -y g++ gfortran gdb
- cd build/sphere - cd build/sphere
- echo "Running np_sphere" - echo "Running np_sphere"
- chmod +x np_sphere - chmod +x np_sphere
...@@ -99,7 +99,7 @@ testing_stage: ...@@ -99,7 +99,7 @@ testing_stage:
- echo $CI_COMMIT_SHA - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- echo "Updating system" - echo "Updating system"
- yum install -y python3 - sudo yum install -y python3
- cd build/sphere - cd build/sphere
- export FFILE=../../test_data/sphere/OSPH - export FFILE=../../test_data/sphere/OSPH
- echo "Comparing output of SPHERE" - echo "Comparing output of SPHERE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment