summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.com>2023-04-28 15:53:32 +0300
committerPekka Paalanen <pekka.paalanen@collabora.com>2023-04-28 15:57:11 +0300
commitff2d2f757ca9780d1f0c0b17c41b39f2987b875d (patch)
tree66f9621f46aec319ae7df5af7c8287c1fce69865
parent902697d08e57a1ad5858c7327085aaff37a1cefc (diff)
downloadweston-ff2d2f757ca9780d1f0c0b17c41b39f2987b875d.tar.gz
CI: always use wrap-mode=nofallback
We want to install all dependencies ourselves to know exactly what we get. I accidentally got some wraps built when I did not expect so. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-rw-r--r--.gitlab-ci.yml6
-rwxr-xr-x.gitlab-ci/build-deps.sh16
2 files changed, 11 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5603f9b..fe43af89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,7 @@
variables:
FDO_UPSTREAM_REPO: wayland/weston
FDO_REPO_SUFFIX: "$BUILD_OS/$BUILD_ARCH"
- FDO_DISTRIBUTION_TAG: '2023-03-03-bump-wayland-protocols-to-1.31'
+ FDO_DISTRIBUTION_TAG: '2023-04-28-wrapmode-nofallback'
include:
@@ -182,7 +182,7 @@ aarch64-debian-container_prep:
- .ci-rules
script:
- cd "$BUILDDIR"
- - meson --prefix="$PREFIX" -Db_sanitize=address ${MESON_OPTIONS} ${MESON_TOOLCHAIN_OPTIONS} ..
+ - meson --prefix="$PREFIX" --wrap-mode=nofallback -Db_sanitize=address ${MESON_OPTIONS} ${MESON_TOOLCHAIN_OPTIONS} ..
- ninja -k0 -j${FDO_CI_CONCURRENT:-4}
- ninja install
- test -n "${QEMU_SMP}" || QEMU_SMP=${FDO_CI_CONCURRENT:-4}
@@ -210,7 +210,7 @@ aarch64-debian-container_prep:
- .ci-rules
script:
- cd "$BUILDDIR"
- - meson --prefix="$PREFIX" ${MESON_OPTIONS} ..
+ - meson --prefix="$PREFIX" --wrap-mode=nofallback ${MESON_OPTIONS} ..
- ninja -k0 -j${FDO_CI_CONCURRENT:-4}
- ninja install
- ninja clean
diff --git a/.gitlab-ci/build-deps.sh b/.gitlab-ci/build-deps.sh
index 47149e24..e6da6039 100755
--- a/.gitlab-ci/build-deps.sh
+++ b/.gitlab-ci/build-deps.sh
@@ -97,7 +97,7 @@ git clone --branch 1.20.0 --depth=1 https://gitlab.freedesktop.org/wayland/wayla
cd wayland
git show -s HEAD
mkdir build
-meson build -Ddocumentation=false
+meson build --wrap-mode=nofallback -Ddocumentation=false
ninja ${NINJAFLAGS} -C build install
cd ..
rm -rf wayland
@@ -108,7 +108,7 @@ rm -rf wayland
git clone --branch 1.31 --depth=1 https://gitlab.freedesktop.org/wayland/wayland-protocols
cd wayland-protocols
git show -s HEAD
-meson build
+meson build --wrap-mode=nofallback
ninja ${NINJAFLAGS} -C build install
cd ..
rm -rf wayland-protocols
@@ -122,7 +122,7 @@ rm -rf wayland-protocols
# be manually inspected for correctness.
git clone --branch 21.3 --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git
cd mesa
-meson build -Dauto_features=disabled \
+meson build --wrap-mode=nofallback -Dauto_features=disabled \
-Dgallium-drivers=swrast -Dvulkan-drivers= -Ddri-drivers=
ninja ${NINJAFLAGS} -C build install
cd ..
@@ -133,7 +133,7 @@ rm -rf mesa
# building and installing libdrm as soon as we move to Debian 12.
git clone --branch libdrm-2.4.108 --depth=1 https://gitlab.freedesktop.org/mesa/drm.git
cd drm
-meson build -Dauto_features=disabled \
+meson build --wrap-mode=nofallback -Dauto_features=disabled \
-Dvc4=false -Dfreedreno=false -Detnaviv=false
ninja ${NINJAFLAGS} -C build install
cd ..
@@ -147,7 +147,7 @@ rm -rf drm
git clone --single-branch --branch master https://gitlab.freedesktop.org/pipewire/pipewire.git pipewire-src
cd pipewire-src
git checkout -b snapshot bf112940d0bf8f526dd6229a619c1283835b49c2
-meson build
+meson build --wrap-mode=nofallback
ninja ${NINJAFLAGS} -C build install
cd ..
rm -rf pipewire-src
@@ -156,7 +156,7 @@ rm -rf pipewire-src
# We use this for our tests using the DRM backend.
git clone --depth=1 --branch 0.6.1 https://git.sr.ht/~kennylevinsen/seatd
cd seatd
-meson build -Dauto_features=disabled \
+meson build --wrap-mode=nofallback -Dauto_features=disabled \
-Dlibseat-seatd=enabled -Dlibseat-logind=systemd -Dserver=enabled
ninja ${NINJAFLAGS} -C build install
cd ..
@@ -165,13 +165,13 @@ rm -rf seatd
# Build and install aml and neatvnc, which are required for the VNC backend
git clone --branch v0.3.0 --depth=1 https://github.com/any1/aml.git
cd aml
-meson build
+meson build --wrap-mode=nofallback
ninja ${NINJAFLAGS} -C build install
cd ..
rm -rf aml
git clone --branch v0.6.0 --depth=1 https://github.com/any1/neatvnc.git
cd neatvnc
-meson build -Dauto_features=disabled
+meson build --wrap-mode=nofallback -Dauto_features=disabled
ninja ${NINJAFLAGS} -C build install
cd ..
rm -rf neatvnc