CI: Update gitlab CI to use debian bullseye
Also install xkbcomp, libwayland-dev, and weston from debian since it is new enough now Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
3288149096
commit
e2dcf31059
|
@ -9,9 +9,9 @@
|
||||||
# using the same tag.
|
# using the same tag.
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: xorg/xserver
|
FDO_UPSTREAM_REPO: xorg/xserver
|
||||||
FDO_DISTRIBUTION_VERSION: buster-slim
|
FDO_DISTRIBUTION_VERSION: bullseye-slim
|
||||||
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/debian-install.sh'
|
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/debian-install.sh'
|
||||||
FDO_DISTRIBUTION_TAG: "2022-05-04.1"
|
FDO_DISTRIBUTION_TAG: "2022-07-01"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: 'freedesktop/ci-templates'
|
- project: 'freedesktop/ci-templates'
|
||||||
|
@ -31,7 +31,7 @@ stages:
|
||||||
# Cancel CI run if a newer commit is pushed to the same branch
|
# Cancel CI run if a newer commit is pushed to the same branch
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
debian-buster:
|
debian-bullseye:
|
||||||
extends:
|
extends:
|
||||||
- .fdo.container-build@debian
|
- .fdo.container-build@debian
|
||||||
- .ci-run-policy
|
- .ci-run-policy
|
||||||
|
|
|
@ -57,6 +57,7 @@ apt-get install -y \
|
||||||
libtool \
|
libtool \
|
||||||
libudev-dev \
|
libudev-dev \
|
||||||
libunwind-dev \
|
libunwind-dev \
|
||||||
|
libwayland-dev \
|
||||||
libx11-dev \
|
libx11-dev \
|
||||||
libx11-xcb-dev \
|
libx11-xcb-dev \
|
||||||
libxau-dev \
|
libxau-dev \
|
||||||
|
@ -101,6 +102,7 @@ apt-get install -y \
|
||||||
python3-mako \
|
python3-mako \
|
||||||
python3-numpy \
|
python3-numpy \
|
||||||
python3-six \
|
python3-six \
|
||||||
|
x11-xkb-utils \
|
||||||
xfonts-utils \
|
xfonts-utils \
|
||||||
xkb-data \
|
xkb-data \
|
||||||
xtrans-dev \
|
xtrans-dev \
|
||||||
|
@ -126,15 +128,7 @@ make -j${FDO_CI_CONCURRENT:-4} install
|
||||||
popd
|
popd
|
||||||
rm -rf xorgproto
|
rm -rf xorgproto
|
||||||
|
|
||||||
# weston 9.0 requires libwayland >= 1.18
|
# Xwayland requires wayland-protocols >= 1.22, but Debian bullseye has 1.20 only
|
||||||
git clone https://gitlab.freedesktop.org/wayland/wayland.git --depth 1 --branch=1.18.0
|
|
||||||
cd wayland
|
|
||||||
meson _build -D{documentation,dtd_validation}=false
|
|
||||||
ninja -C _build -j${FDO_CI_CONCURRENT:-4} install
|
|
||||||
cd ..
|
|
||||||
rm -rf wayland
|
|
||||||
|
|
||||||
# Xwayland requires wayland-protocols >= 1.22, but Debian buster has 1.17 only
|
|
||||||
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git --depth 1 --branch=1.22
|
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git --depth 1 --branch=1.22
|
||||||
cd wayland-protocols
|
cd wayland-protocols
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
@ -142,18 +136,6 @@ make -j${FDO_CI_CONCURRENT:-4} install
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf wayland-protocols
|
rm -rf wayland-protocols
|
||||||
|
|
||||||
# Xwayland requires weston > 5.0, but Debian buster has 5.0 only
|
|
||||||
git clone https://gitlab.freedesktop.org/wayland/weston.git --depth 1 --branch=9.0
|
|
||||||
cd weston
|
|
||||||
meson _build -Dbackend-{drm,drm-screencast-vaapi,fbdev,rdp,wayland,x11}=false \
|
|
||||||
-Dbackend-default=headless -Dcolor-management-{colord,lcms}=false \
|
|
||||||
-Ddemo-clients=false -Dimage-{jpeg,webp}=false \
|
|
||||||
-D{pipewire,remoting,screenshare,test-junit-xml,wcap-decode,weston-launch,xwayland}=false \
|
|
||||||
-Dshell-{fullscreen,ivi,kiosk}=false -Dsimple-clients=
|
|
||||||
ninja -C _build -j${FDO_CI_CONCURRENT:-4} install
|
|
||||||
cd ..
|
|
||||||
rm -rf weston
|
|
||||||
|
|
||||||
# Install libdecor for Xwayland
|
# Install libdecor for Xwayland
|
||||||
git clone https://gitlab.gnome.org/jadahl/libdecor.git --depth 1 --branch=0.1.0
|
git clone https://gitlab.gnome.org/jadahl/libdecor.git --depth 1 --branch=0.1.0
|
||||||
cd libdecor
|
cd libdecor
|
||||||
|
@ -186,14 +168,6 @@ echo 'path=/root/xts' >> piglit/piglit.conf
|
||||||
find -name \*.a -o -name \*.o -o -name \*.c -o -name \*.h -o -name \*.la\* | xargs rm
|
find -name \*.a -o -name \*.o -o -name \*.c -o -name \*.h -o -name \*.la\* | xargs rm
|
||||||
strip xts/xts5/*/.libs/*
|
strip xts/xts5/*/.libs/*
|
||||||
|
|
||||||
# Running meson dist requires xkbcomp 1.4.1 or newer, but Debian buster has 1.4.0 only
|
|
||||||
git clone https://gitlab.freedesktop.org/xorg/app/xkbcomp.git --depth 1 --branch=xkbcomp-1.4.1
|
|
||||||
cd xkbcomp
|
|
||||||
./autogen.sh --datarootdir=/usr/share
|
|
||||||
make -j${FDO_CI_CONCURRENT:-4} install
|
|
||||||
cd ..
|
|
||||||
rm -rf xkbcomp
|
|
||||||
|
|
||||||
apt-get purge -y \
|
apt-get purge -y \
|
||||||
$EPHEMERAL
|
$EPHEMERAL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue