gitlab-ci: Merge scons-nollvm and scons-llvm jobs
authorMichel Dänzer <mdaenzer@redhat.com>
Thu, 12 Sep 2019 09:45:13 +0000 (11:45 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 18 Sep 2019 10:36:48 +0000 (10:36 +0000)
The new job tests scons without LLVM and with all LLVM versions >= 6.0.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml

index 588293f276d3a0036657e069ae45b8f59f88e809..20f216d001c8a6187bd96812f391b74aaa87a8e1 100644 (file)
@@ -331,24 +331,19 @@ meson-i386:
       -D llvm=false
       -D osmesa=classic
 
-scons-nollvm:
-  extends: .scons-build
-  variables:
-    SCONS_TARGET: "llvm=0"
-    SCONS_CHECK_COMMAND: "scons llvm=0 check"
-
-scons-llvm:
+scons:
   extends: .scons-build
   variables:
     SCONS_TARGET: "llvm=1"
     SCONS_CHECK_COMMAND: "scons llvm=1 check"
   script:
+    - SCONS_TARGET="" SCONS_CHECK_COMMAND="scons check" .gitlab-ci/scons-build.sh
     - LLVM_VERSION=6.0 .gitlab-ci/scons-build.sh
     - LLVM_VERSION=7 .gitlab-ci/scons-build.sh
     - LLVM_VERSION=8 .gitlab-ci/scons-build.sh
 
 scons-old-llvm:
-  extends: scons-llvm
+  extends: scons
   image: $STRETCH_IMAGE
   script:
     - LLVM_VERSION=3.9 .gitlab-ci/scons-build.sh