+# NOTE: Building SWR is 2x (yes two) times slower than all the other
+# 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.
+meson-swr-glvnd:
+ extends: .meson-build
+ variables:
+ UNWIND: "true"
+ DRI_LOADERS: >
+ -D glvnd=true
+ -D egl=true
+ GALLIUM_ST: >
+ -D dri3=true
+ -D gallium-vdpau=false
+ -D gallium-xvmc=false
+ -D gallium-omx=disabled
+ -D gallium-va=false
+ -D gallium-xa=false
+ -D gallium-nine=true
+ -D gallium-opencl=disabled
+ -D osmesa=gallium
+ GALLIUM_DRIVERS: "swr,swrast,iris"
+ LLVM_VERSION: "6.0"
+
+meson-clang:
+ extends: .meson-build
+ variables:
+ UNWIND: "true"
+ DRI_DRIVERS: "auto"
+ GALLIUM_DRIVERS: "auto"
+ VULKAN_DRIVERS: intel,amd,freedreno
+ CC: "ccache clang-8"
+ CXX: "ccache clang++-8"
+ before_script:
+ - export CCACHE_BASEDIR="$PWD" CCACHE_DIR="$PWD/ccache"
+ - ccache --zero-stats --show-stats || true
+ # clang++ breaks if it picks up the GCC 8 directory without libstdc++.so
+ - apt-get remove -y libgcc-8-dev
+
+scons-swr:
+ extends: .scons-build
+ variables:
+ SCONS_TARGET: "swr=1"
+ SCONS_CHECK_COMMAND: "true"
+ LLVM_VERSION: "6.0"
+
+scons-win64:
+ extends: .scons-build
+ variables:
+ SCONS_TARGET: platform=windows machine=x86_64
+ SCONS_CHECK_COMMAND: "true"
+
+meson-main:
+ extends: .meson-build
+ variables:
+ UNWIND: "true"
+ DRI_LOADERS: >
+ -D glx=dri
+ -D gbm=true
+ -D egl=true
+ -D platforms=x11,wayland,drm,surfaceless
+ -D osmesa=classic
+ DRI_DRIVERS: "i915,i965,r100,r200,swrast,nouveau"
+ GALLIUM_ST: >
+ -D dri3=true
+ -D gallium-extra-hud=true
+ -D gallium-vdpau=true
+ -D gallium-xvmc=true
+ -D gallium-omx=bellagio
+ -D gallium-va=true
+ -D gallium-xa=true
+ -D gallium-nine=false
+ -D gallium-opencl=disabled
+ GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,svga,v3d,vc4,virgl,etnaviv,panfrost,lima"
+ LLVM_VERSION: "7"
+ EXTRA_OPTION: >
+ -D tools=all
+
+meson-clover:
+ extends: .meson-build
+ variables:
+ UNWIND: "true"
+ DRI_LOADERS: >
+ -D glx=disabled
+ -D egl=false
+ -D gbm=false
+ GALLIUM_ST: >
+ -D dri3=false
+ -D gallium-vdpau=false
+ -D gallium-xvmc=false
+ -D gallium-omx=disabled
+ -D gallium-va=false
+ -D gallium-xa=false
+ -D gallium-nine=false
+ -D gallium-opencl=icd
+ script:
+ - export GALLIUM_DRIVERS="r600,radeonsi"
+ - .gitlab-ci/meson-build.sh
+ - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
+ - export GALLIUM_DRIVERS="i915,r600"
+ - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
+ - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
+ - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
+ - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
+
+meson-vulkan: