Rebuilding all the test containers for a change that only affects the build containers is costly and unnecessary. Split the `DEBIAN_BASE_TAG` into `DEBIAN_BUILD_BASE_TAG` and `DEBIAN_TEST_BASE_TAG` to make it possible to rebuild only the relevant half of the containers. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36736>
32 lines
748 B
Bash
32 lines
748 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2086 # we want word splitting
|
|
|
|
set -uex
|
|
|
|
uncollapsed_section_start xwayland "Building XWayland"
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# DEBIAN_TEST_BASE_TAG
|
|
#
|
|
export XORGPROTO_VERSION="xorgproto-2024.1"
|
|
export XWAYLAND_VERSION="xwayland-24.1.8"
|
|
|
|
git clone https://gitlab.freedesktop.org/xorg/proto/xorgproto
|
|
cd xorgproto
|
|
git checkout "$XORGPROTO_VERSION"
|
|
meson setup _build ${EXTRA_MESON_ARGS:-}
|
|
meson install -C _build
|
|
cd ..
|
|
rm -rf xorgproto
|
|
|
|
git clone https://gitlab.freedesktop.org/xorg/xserver
|
|
cd xserver
|
|
git checkout "$XWAYLAND_VERSION"
|
|
meson setup _build ${EXTRA_MESON_ARGS:-}
|
|
meson install -C _build
|
|
cd ..
|
|
rm -rf xserver
|
|
|
|
section_end xwayland
|