Skip to content
Snippets Groups Projects
Commit bae54514 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

only set root build_dir for local builds

parent bd10069c
No related branches found
No related tags found
1 merge request!10Update dis
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
......@@ -7,8 +7,13 @@
// setup a local build directory so we don't polute our source code with
// ROOT dictionaries etc.
gSystem->Exec("mkdir -p /tmp/root_build");
gSystem->SetBuildDir("/tmp/root_build");
// note: don't do this for CI as this always fails the first time
// we try to compile with a build_dir (as somehow the build_dir gets created only
// after the compile files...)
const char* is_ci = gSystem->Getenv("CI");
if (!is_ci) {
gSystem->SetBuildDir("/tmp/root_build");
}
// style definition based off the ATLAS style
TStyle* s = gStyle;
......
......@@ -35,6 +35,10 @@ dvmp:process:
artifacts:
paths:
- results
retry:
max: 2
when:
- runner_system_failure
dvmp:results:
stage: collect
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment