summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db17a6cccc5..e9d0a1c2809 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,6 +116,9 @@ containers:ubuntu:
variables:
SCONSFLAGS: "-j4"
script:
+ - if test -n "$LLVM_VERSION"; then
+ export LLVM_CONFIG="llvm-config-${LLVM_VERSION}";
+ fi
- scons $SCONS_TARGET
- eval $SCONS_CHECK_COMMAND
@@ -171,3 +174,10 @@ build:scons-nollvm:
variables:
SCONS_TARGET: "llvm=0"
SCONS_CHECK_COMMAND: "scons llvm=0 check"
+
+build:scons-llvm:
+ extends: .scons-build
+ variables:
+ SCONS_TARGET: "llvm=1"
+ SCONS_CHECK_COMMAND: "scons llvm=1 check"
+ LLVM_VERSION: "3.9"