gitlab-ci: add meson gallium ST "Other" build
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 28 Jan 2019 18:13:55 +0000 (18:13 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 6 Feb 2019 17:56:30 +0000 (17:56 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml
.gitlab-ci/Dockerfile.ubuntu
.travis.yml

index 237ce185dcaf3e2bffc0bdd6ca3e1841592e6829..fafc9e075e74142830bddf5c04a80b68cb3b5719 100644 (file)
@@ -259,6 +259,27 @@ build:meson-gallium-clover-llvm7:
     GALLIUM_DRIVERS: "r600,radeonsi"
     LLVM_VERSION: "7"
 
+build:meson-gallium-st-other:
+  extends: .meson-build
+  variables:
+    UNWIND: "true"
+    DRI_LOADERS: >
+      -D glx=disabled
+      -D egl=false
+      -D gbm=false
+    GALLIUM_ST: >
+      -D dri3=true
+      -D gallium-vdpau=true
+      -D gallium-xvmc=true
+      -D gallium-omx=bellagio
+      -D gallium-va=true
+      -D gallium-xa=true
+      -D gallium-nine=true
+      -D gallium-opencl=disabled
+      -D osmesa=gallium
+    GALLIUM_DRIVERS: "nouveau,swrast"
+    LLVM_VERSION: "5.0"
+
 build:make-vulkan:
   extends: .make-build
   variables:
index 91cab6b791b3ae484633893feaea28fa552613d1..72f1efe027484e9ebf489e8c9de754ca91e68484 100644 (file)
@@ -35,6 +35,8 @@ RUN apt-get install -y \
       clang-7 \
       libclang-7-dev \
       libclc-dev \
+      libxvmc-dev \
+      libomxil-bellagio-dev \
       xz-utils \
       libexpat1-dev \
       libx11-xcb-dev \
index 57f5be2ecc4c35c2e50cf30352668dcb6635c71f..041ebea1e05c2bad75c78df47d73ddd65fab5f54 100644 (file)
@@ -54,38 +54,6 @@ matrix:
             - libxfixes-dev
             - python3-pip
             - python3-setuptools
-    - env:
-        - LABEL="meson Gallium ST Other"
-        - BUILD=meson
-        - UNWIND="true"
-        - DRI_LOADERS="-Dglx=disabled -Degl=false -Dgbm=false"
-        - GALLIUM_ST="-Ddri3=true -Dgallium-vdpau=true -Dgallium-xvmc=true -Dgallium-omx=bellagio -Dgallium-va=true -Dgallium-xa=true -Dgallium-nine=true -Dgallium-opencl=disabled -Dosmesa=gallium"
-        # We need swrast for osmesa and nine.
-        # Nouveau supports, or builds at least against all ST.
-        - GALLIUM_DRIVERS="nouveau,swrast"
-        - LLVM_VERSION=5.0
-        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
-      addons:
-        apt:
-          packages:
-            - llvm-5.0-dev
-            # LLVM packaging is broken and misses these dependencies
-            - libedit-dev
-            # Nine requires gcc 4.6... which is the one we have right ?
-            - libxvmc-dev
-            # Build locally, for now.
-            #- libvdpau-dev
-            #- libva-dev
-            - libomxil-bellagio-dev
-            # Common
-            - xz-utils
-            - libexpat1-dev
-            - libx11-xcb-dev
-            - libelf-dev
-            - libunwind8-dev
-            - python3.5
-            - python3-pip
-            - python3-setuptools
     - env:
         # NOTE: Building SWR is 2x (yes two) times slower than all the other
         # gallium drivers combined.