Commit 5de7ed3c authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CI: move scl loading to before_script

parent 991f9b98
Pipeline #1101229 failed with stages
in 8 minutes and 16 seconds
...@@ -83,10 +83,9 @@ cmp:cc7-docker: ...@@ -83,10 +83,9 @@ cmp:cc7-docker:
image: image:
name: gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps name: gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps
entrypoint: [""] entrypoint: [""]
script: before_script:
- gcc --version
- source scl_source enable devtoolset-7 || echo " " - source scl_source enable devtoolset-7 || echo " "
- gcc --version script:
- mkdir build - mkdir build
- cd build - cd build
- cmake3 -DBUILD_EventLoaderEUDAQ2=ON -DCMAKE_BUILD_TYPE=RELEASE -DROOT_DIR=$ROOTSYS .. - cmake3 -DBUILD_EventLoaderEUDAQ2=ON -DCMAKE_BUILD_TYPE=RELEASE -DROOT_DIR=$ROOTSYS ..
...@@ -151,6 +150,8 @@ cmp:mac1014-clang: ...@@ -151,6 +150,8 @@ cmp:mac1014-clang:
image: image:
name: gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps name: gitlab-registry.cern.ch/corryvreckan/corryvreckan/corryvreckan-deps
entrypoint: [""] entrypoint: [""]
before_script:
- source scl_source enable devtoolset-7 || echo " "
tst:telescope: tst:telescope:
extends: .test extends: .test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment