gitlab-ci: add scons windows build using mingw
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 8 Mar 2019 12:47:23 +0000 (12:47 +0000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 2 May 2019 15:10:59 +0000 (15:10 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml
.gitlab-ci/debian-install.sh

index f336cbb0b9a519cfa76d3120e9cbb4e3f2375a5e..7878435130b5378ce67ce53b6639585156e79d23 100644 (file)
@@ -17,7 +17,7 @@
 # at "01" unless you have multiple updates on the same day :)
 variables:
   UPSTREAM_REPO: mesa/mesa
-  DEBIAN_TAG: "2019-04-16"
+  DEBIAN_TAG: "2019-05-01"
   DEBIAN_VERSION: stretch-slim
   DEBIAN_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
 
@@ -327,3 +327,9 @@ scons-swr:
     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"
index 8bbd451e4228e36bef2f2d977f95e0a84b2240d4..3b8a1c0c5d54be802fb126ba4add0f5730d147d5 100644 (file)
@@ -68,6 +68,11 @@ apt-get install -y \
       gettext \
       make
 
+# for 64bit windows cross-builds
+apt-get install -y \
+      wine64 \
+      mingw-w64
+
 # dependencies where we want a specific version
 export              XORG_RELEASES=https://xorg.freedesktop.org/releases/individual
 export               XCB_RELEASES=https://xcb.freedesktop.org/dist