CI: build wayland from source
authorSebastian Wick <sebastian@sebastianwick.net>
Fri, 1 Nov 2019 16:00:40 +0000 (17:00 +0100)
committerSebastian Wick <sebastian@sebastianwick.net>
Mon, 4 Nov 2019 14:08:42 +0000 (15:08 +0100)
The next commit bumps the required Wayland version beyond what the repo
version supports.

Build wayland 1.17 into the docker image.

Signed-off-by: Sebastian Wick <sebastian@sebastianwick.net>
.gitlab-ci.yml
.gitlab-ci/debian-install.sh

index 9620abef772dddb621539ebed33f655d90ef90b2..1c21c6e4595c611ebc0667327553a6360d16178b 100644 (file)
@@ -5,7 +5,7 @@ variables:
   DEBIAN_VERSION: buster
   DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
 
-  DEBIAN_TAG: '2019-06-26.0'
+  DEBIAN_TAG: '2019-11-04.0'
   DEBIAN_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG
 
 
index 06b3900b065e54d629b7d0430139087cf5f34cff..80ba6e364155b2b8ef804fc93573980f48797a3d 100644 (file)
@@ -12,5 +12,15 @@ pip3 install sphinx==2.1.0 --user
 pip3 install breathe==4.13.0.post0 --user
 pip3 install sphinx_rtd_theme==0.4.3 --user
 
+git clone --branch 1.17.0 --depth=1 https://gitlab.freedesktop.org/wayland/wayland
+export MAKEFLAGS="-j4"
+cd wayland
+git show -s HEAD
+mkdir build
+cd build
+../autogen.sh --disable-documentation
+make install
+cd ../../
+
 mkdir -p /tmp/.X11-unix
 chmod 777 /tmp/.X11-unix