gitlab-ci: reduce the number of scons build
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Nov 2019 07:29:25 +0000 (08:29 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Nov 2019 09:39:21 +0000 (10:39 +0100)
It seems overkill to me to build scons 7x for every pipeline.
Scons is now build with the oldest llvm version in scons-old-llvm
and with the newest llvm version in scons.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
.gitlab-ci.yml

index 80b4b012c464288b884b144cd5b3b71a37869b60..e074f0ac58760e2c54935e3a432d1a4dd9e31a25 100644 (file)
@@ -438,8 +438,6 @@ scons:
     SCONS_CHECK_COMMAND: "scons llvm=1 force_scons=1 check"
   script:
     - SCONS_TARGET="" SCONS_CHECK_COMMAND="scons check force_scons=1" .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:
@@ -448,8 +446,6 @@ scons-old-llvm:
     - .use-x86_build_old
   script:
     - LLVM_VERSION=3.9 .gitlab-ci/scons-build.sh
-    - LLVM_VERSION=4.0 .gitlab-ci/scons-build.sh
-    - LLVM_VERSION=5.0 .gitlab-ci/scons-build.sh
 
 .test:
   extends: