gitlab-ci: Move around which builds cover which swrast.
authorEric Anholt <eric@anholt.net>
Wed, 7 Aug 2019 21:05:51 +0000 (14:05 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 13 Aug 2019 17:29:34 +0000 (10:29 -0700)
I want to enable CI of llvmpipe out of the meson-main build.  So, kick
classic swrast/osmesa to meson-i386, then promote llvmpipe to
meson-main (along with nine, now that classic osmesa isn't keeping it
out of there).

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml

index b986d439a6c3c37cc72c4d029807c5a0ec220d3e..f375a7c2423c335403761d61f6d91f8e1e87cda0 100644 (file)
@@ -100,12 +100,8 @@ debian:
 # gallium drivers combined.
 # Start this early so that it doesn't limit the total run time.
 #
-# We also put softpipe (and therefore gallium nine, which requires
-# it) here, since softpipe/llvmpipe can't be built alongside classic
-# swrast.
-#
-# Putting glvnd here is arbitrary, but we want it in one of the builds
-# for coverage.
+# We also stick the glvnd build here, since we want non-glvnd in
+# meson-main for actual driver CI.
 meson-swr-glvnd:
   extends: .meson-build
   variables:
@@ -120,10 +116,9 @@ meson-swr-glvnd:
       -D gallium-omx=disabled
       -D gallium-va=false
       -D gallium-xa=false
-      -D gallium-nine=true
+      -D gallium-nine=false
       -D gallium-opencl=disabled
-      -D osmesa=gallium
-    GALLIUM_DRIVERS: "swr,swrast,iris"
+    GALLIUM_DRIVERS: "swr,iris"
     LLVM_VERSION: "6.0"
 
 meson-clang:
@@ -163,8 +158,7 @@ meson-main:
       -D gbm=true
       -D egl=true
       -D platforms=x11,wayland,drm,surfaceless
-      -D osmesa=classic
-    DRI_DRIVERS: "i915,i965,r100,r200,swrast,nouveau"
+    DRI_DRIVERS: "i915,i965,r100,r200,nouveau"
     GALLIUM_ST: >
       -D dri3=true
       -D gallium-extra-hud=true
@@ -173,11 +167,12 @@ meson-main:
       -D gallium-omx=bellagio
       -D gallium-va=true
       -D gallium-xa=true
-      -D gallium-nine=false
+      -D gallium-nine=true
       -D gallium-opencl=disabled
-    GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,svga,v3d,vc4,virgl,etnaviv,panfrost,lima"
+    GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima"
     LLVM_VERSION: "7"
     EXTRA_OPTION: >
+      -D osmesa=gallium
       -D tools=all
     MESON_SHADERDB: "true"
 
@@ -278,17 +273,23 @@ meson-arm64:
       -D I-love-half-baked-turnips=true
       -D vulkan-overlay-layer=true
 
+# While the main point of this build is testing the i386 cross build,
+# we also use this one to test some other options that are exclusive
+# with meson-main's choices (classic swrast and osmesa)
 meson-i386:
   extends: .meson-cross
   variables:
     CROSS: i386
     VULKAN_DRIVERS: intel
-    GALLIUM_DRIVERS: "swrast"
+    DRI_DRIVERS: "swrast"
+    GALLIUM_DRIVERS: "iris"
     # Disable i386 tests, because u_format_tests gets precision
     # failures in dxtn unpacking
     EXTRA_OPTION: >
       -D build-tests=false
       -D vulkan-overlay-layer=true
+      -D llvm=false
+      -D osmesa=classic
 
 scons-nollvm:
   extends: .scons-build