gitlab-ci: add scons SWR build
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 28 Jan 2019 16:33:22 +0000 (16:33 +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 e9d0a1c28097c61880557691c7bb04e95c72e063..3c3f39c530a1f57424340cf9c1e39777951c3b1e 100644 (file)
@@ -181,3 +181,10 @@ build:scons-llvm:
     SCONS_TARGET: "llvm=1"
     SCONS_CHECK_COMMAND: "scons llvm=1 check"
     LLVM_VERSION: "3.9"
+
+build:scons-swr:
+  extends: .scons-build
+  variables:
+    SCONS_TARGET: "swr=1"
+    SCONS_CHECK_COMMAND: "true"
+    LLVM_VERSION: "6.0"
index 8131eeaf0d28cbfcc121e5569410a72bee745673..745973a9f730858db0ef69c5187d662e83cb33a1 100644 (file)
@@ -22,6 +22,7 @@ RUN apt-get install -y \
       libva-dev \
       llvm-3.9-dev \
       libclang-3.9-dev \
+      llvm-6.0-dev \
       llvm-7-dev \
       xz-utils \
       libexpat1-dev \
index 56b920f131543081a6bc6dd5137f79dcaf967556..b27449344ad4af53e04f0f8ce1c13cbb6d0cfeb5 100644 (file)
@@ -530,25 +530,6 @@ matrix:
             - libunwind8-dev
             - python3-pip
             - python3-setuptools
-    - env:
-        - LABEL="scons SWR"
-        - BUILD=scons
-        - SCONSFLAGS="-j4"
-        - SCONS_TARGET="swr=1"
-        - LLVM_VERSION=6.0
-        - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
-        # Keep it symmetrical to the make build. There's no actual SWR, yet.
-        - SCONS_CHECK_COMMAND="true"
-      addons:
-        apt:
-          packages:
-            - llvm-6.0-dev
-            # Common
-            - xz-utils
-            - x11proto-xf86vidmode-dev
-            - libexpat1-dev
-            - libx11-xcb-dev
-            - libelf-dev
     - env:
         - LABEL="macOS make"
         - BUILD=make