gitlab-ci: Move classic driver testing to a new meson-classic job
authorMichel Dänzer <mdaenzer@redhat.com>
Thu, 12 Mar 2020 11:29:40 +0000 (12:29 +0100)
committerMichel Dänzer <michel@daenzer.net>
Tue, 17 Mar 2020 10:20:23 +0000 (11:20 +0100)
The motivation is to allow llvmpipe to be enabled instead in the
meson-i386 job.

v2: (Eric Engestrom)
* Rename meson-main job to meson-gallium
* Remove stale comment above meson-i386 job

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4166>

.gitlab-ci.yml

index 76f826e47cfbfc5dc9bd3437a5568ea10a1d9c1b..c89b5cdb269f03516f665ea6dd05a005939bf186 100644 (file)
@@ -265,7 +265,7 @@ meson-testing:
     - .gitlab-ci/meson-build.sh
     - .gitlab-ci/prepare-artifacts.sh
 
-meson-main:
+meson-gallium:
   extends: .meson-build
   variables:
     UNWIND: "true"
@@ -274,7 +274,6 @@ meson-main:
       -D gbm=true
       -D egl=true
       -D platforms=x11,wayland,drm,surfaceless
-    DRI_DRIVERS: "i915,i965,r100,r200,nouveau"
     GALLIUM_ST: >
       -D dri3=true
       -D gallium-extra-hud=true
@@ -293,6 +292,20 @@ meson-main:
     - .gitlab-ci/meson-build.sh
     - .gitlab-ci/run-shader-db.sh
 
+meson-classic:
+  extends: .meson-build
+  variables:
+    UNWIND: "true"
+    DRI_LOADERS: >
+      -D glx=dri
+      -D gbm=true
+      -D egl=true
+      -D platforms=x11,wayland,drm,surfaceless
+    DRI_DRIVERS: "auto"
+    EXTRA_OPTION: >
+      -D osmesa=classic
+      -D tools=all
+
 .meson-cross:
   extends:
     - .meson-build
@@ -458,19 +471,14 @@ meson-vulkan:
       -D vulkan-overlay-layer=true
       -D werror=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,amd
-    DRI_DRIVERS: "swrast"
     GALLIUM_DRIVERS: "iris"
     EXTRA_OPTION: >
       -D vulkan-overlay-layer=true
-      -D osmesa=classic
       -D werror=true
   script:
     - dpkg -i /var/cache/apt/archives/$CROSS/*.deb