gitlab-ci: add the vulkan overlay layer to the vulkan build
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 8 May 2019 16:08:11 +0000 (18:08 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 8 May 2019 16:59:02 +0000 (16:59 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
[ Michel Dänzer: Take changes affecting the docker image from !299,
  plus remove the unzip package again before generating the image ]

.gitlab-ci/debian-install.sh

index 67b2190a0105509ae16e517cf098c7d02dc29a4a..7c242ba9d2f8af09df33a28cf9c5756aca21b17c 100644 (file)
@@ -10,6 +10,7 @@ apt-get install -y \
       ca-certificates \
       curl \
       wget \
+      unzip \
       gnupg \
       software-properties-common
 
@@ -77,6 +78,13 @@ apt-get install -y \
 # for 64bit windows cross-builds
 apt-get install -y mingw-w64
 
+# for the vulkan overlay layer
+wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip
+unzip glslang-master-linux-Release.zip bin/glslangValidator
+install -m755 bin/glslangValidator /usr/local/bin/
+rm bin/glslangValidator glslang-master-linux-Release.zip
+
+
 # dependencies where we want a specific version
 export              XORG_RELEASES=https://xorg.freedesktop.org/releases/individual
 export               XCB_RELEASES=https://xcb.freedesktop.org/dist
@@ -179,6 +187,7 @@ apt-get purge -y \
       libtool \
       make \
       curl \
+      unzip \
       wget \
       gnupg \
       software-properties-common