Eric Engestrom
4ec045a533
ci: bump ci-templates
...
debian/x86_64_build-base was missing the package that provides
LLVMConfig.cmake, breaking cmake builds that need LLVM, like the
SPIRV-LLVM-Translator build.
The cross-builds were missing arch-test to allow dpkg to figure out
which arch it's running on.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31940 >
2024-11-06 07:53:21 +00:00
Eric Engestrom
18b5108a3d
ci: don't replace ld with ld.gold if ld.gold doesn't exist
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31940 >
2024-11-06 07:53:21 +00:00
Eric Engestrom
7a89e7afe3
ci: properly quote ccache dir and path
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31940 >
2024-11-06 07:53:21 +00:00
Collabora's Gfx CI Team
ff442e49b3
Uprev Piglit to c2b31333926a6171c3c02d182b756efad7770410
...
791e420b26...c2b3133392
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31811 >
2024-10-30 18:11:56 +00:00
Samuel Pitoiset
38d7492391
ci: uprev VKCTS to 1.3.10.0
...
This tag contains tests for DGC EXT.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31789 >
2024-10-25 14:03:37 +02:00
Samuel Pitoiset
9fda96db5b
ci: uprev vkd3d-proton to 59d6d4b5ed23766e69fe252408a3401d2fd52ce8
...
It contains few fixes for recent DGC tests.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31796 >
2024-10-23 15:47:54 +00:00
Samuel Pitoiset
7cd7631554
ci: uprev vkd3d-proton to 65b81403435576d882d9141ae3eb4a29373fba0e
...
For EXT DGC implementation.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31754 >
2024-10-22 14:12:32 +00:00
Daniel Stone
2950d55828
ci/skqp: Set $SKQP_ARCH from build-skqp.sh
...
Let's just use $DEBIAN_ARCH consistently for our target architecture,
and do any mappings down in build scripts.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
abf7f11796
ci: Use sections for test container builds
...
These can be really long; it's helpful to have the sections to be able
to separate the individual builds, as well as to get an idea of where
our time goes.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
4b2ff9c946
ci/skqp: Fix relative paths
...
When we use build-skqp as a sourced script, $0 refers to the overall
build script, which may not be in .gitlab-ci/container/.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
2d03e67bbf
ci/angle: Use relative paths
...
When we use build-angle as a sourced script, $0 refers to the overall
build script, which may not be in .gitlab-ci/container/.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
ff97a8b006
ci/firmware: Allow calling firmware as sourced script
...
Most of our build scripts are sourced rather than executed in a
subshell, so they inherit our environment. Allow our firmware script to
do the same by not exiting when we have no firmware to download, as is
the case on arm32.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
24a9fe6655
ci: Really remove Mesa drivers from rootfs
...
It turns out dpkg doesn't actually support wildcard expansion. Oops.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
5e1d3c2ffe
ci/mold: Use appropriate parallelism and strip binaries
...
--parallel will by default launch way too many processes and just DoS
itself. We also want to strip the installed binary.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
05b5701c01
ci/lava: Source setup-test-env
...
Make sure we have it available everywhere.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
David Heidelberg
4375133abb
ci/alpine: stay trendy, Alpine flies on LLVM 19 now
...
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31656 >
2024-10-20 19:39:32 -07:00
Georg Lehmann
3120fec0c0
ci: remove selinux from containers
...
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31656 >
2024-10-21 01:14:35 +00:00
Daniel Stone
a5a5a50ae8
ci/angle: Update ANGLE, reduce build times
...
ANGLE currently pulls absolutely loads of stuff that we don't need. Fix
it up so we don't need to do that anymore, so it's much faster to build.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31716 >
2024-10-18 10:40:31 +00:00
Collabora's Gfx CI Team
19ef6b247e
Uprev Piglit to 791e420b2628c1e35eea81b3bafdb1c904a141e8
...
7ce69da119...791e420b26
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31716 >
2024-10-18 10:40:31 +00:00
Daniel Stone
938e827c48
ci/deqp: Compress caselists with zstd
...
The Vulkan caselist is gigantic - over 400MB - and only growing over
time. Luckily zstd gets that down to about 9MB, with absolutely
negligible runtime overhead.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31595 >
2024-10-16 22:52:44 +00:00
Daniel Stone
0ec961325b
ci: Strip yet more unnecessary things from the rootfs
...
We don't need to ship a Rust toolchain, drivers from Debian's version of
Mesa, etc. So stop doing it.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31595 >
2024-10-16 22:52:44 +00:00
Daniel Stone
9295de1396
ci/vk: Strip and optimise validation layers
...
The validation layers being installed are somehow 206MB in size. Slim
them down to 26 MB by building the dependencies in release mode, and
stripping on install.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31595 >
2024-10-16 22:52:44 +00:00
Daniel Stone
e26ea7a00e
ci: Remove non-Proton Wine
...
We previously only had two traces (one for Raven, one for lavapipe)
running via Wine. To support this, the Vulkan container had Debian's
full Wine installation, one from DXVK, and then a third from Proton
which is used by the b2c jobs.
At 600MB each, this was pretty unsustainable. Remove everything but the
Proton ones.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31595 >
2024-10-16 22:52:44 +00:00
Deborah Brouwer
fd9e0a41dd
ci/deqp-runner: uprev from 0.20.0 to 0.20.2
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31429 >
2024-10-16 17:32:53 +00:00
Deborah Brouwer
aa53f73be1
ci/deqp-runner: update instructions for uprevving
...
Since deqp-runner is already being built in the debian base image for test
jobs, it’s not necessary to build it subsequently in GL and VK debian
test images. Update the image tag instructions for uprevving deqp-runner.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31429 >
2024-10-16 17:32:53 +00:00
Deborah Brouwer
5acdef547e
ci/deqp-runner: fix option to build from a commit
...
Since the 'git clone --branch' option only accepts branch names or tags as
arguments, it’s not currently possible to build deqp-runner directly from
a git commit hash.
Revise the deqp-runner build script so that it can build from a commit
even if it doesn’t have a tag or version number.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31429 >
2024-10-16 17:32:53 +00:00
Deborah Brouwer
3e901f7c37
ci: remove obsolete build-hang-detection script
...
The build-hang-detection script was part of the old parallel-deqp-runner
repository which is now superseded by deqp-runner.
Remove the script because it’s no longer used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31429 >
2024-10-16 17:32:53 +00:00
Collabora's Gfx CI Team
68aa78a858
Uprev Piglit to 7ce69da1199d12ed0ddaa251ed489750523798fb
...
e9ab30aeae...7ce69da119
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31379 >
2024-10-15 15:50:47 +01:00
Daniel Stone
d741a6766e
ci/{b2c,swrast,layered}: Strip unnecessary things from runtime containers
...
Bring it up to parity with the LAVA and bare-metal containers by
stripping things we don't need at runtime. There is a lot of stuff we
don't need in container images we only use to execute tests, including
but not limited to the system Mesa which can only cause problems. Call
the same strip-rootfs we already run for LAVA to make sure that this
doesn't happen, as well as slimming down the container image.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
a3560fabc6
ci/kernel: Make download-prebuilt-kernel safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
560d43b75e
ci/skqp: Don't hardcode LLVM version
...
Use our ${LLVM_VERSION} instead.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
5aceba599b
ci/skqp: Reorder some things
...
Declare all our variables first, so we can use them fearlessly.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
1dd728a3d8
ci/skqp: Make build-skqp safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
0fc65e437a
ci/deqp-runner: Make build-deqp-runner safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
fef3170cae
ci/angle: Make build-angle safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
7b56710e77
ci/vkd3d: Make Proton build safe for set -u
...
The version hadn't been used in years now, so was always just an empty
string.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
6f0457dddb
ci/vulkan: Make build-vulkan-validation safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
51dc1ff706
ci/libclc: Make build-libclc safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
ed9c67997a
ci/wine: Make build-wine safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
2382b3ea8d
ci/windows: Make build-directx-headers safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
d14b27b7fe
ci/libdrm: Make build-libdrm safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
c3171bfd6a
ci/wayland: Make build-wayland safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
7824cc1265
ci/crosvm: Make build-crosvm safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
4c52663e4a
ci/va: Make build-va-tools safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
41774fde2f
ci/apitrace: Make build-apitrace safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
ef05facc5e
ci/deqp: Make build-deqp safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:57 +00:00
Daniel Stone
a7824caa8b
ci/piglit: Make build-piglit safe for set -u
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281 >
2024-10-10 11:05:56 +00:00
David Heidelberg
2c31b9e6c2
ci/piglit: keep the include_test.h used for OpenCL testing
...
Since https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/956
the file is shipped properly, preserve it in MesaCI too.
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31549 >
2024-10-09 01:55:12 +00:00
Samuel Pitoiset
e120176c58
ci: uprev VKCTS to 1.3.9.2
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31423 >
2024-10-01 17:30:38 +00:00
Vignesh Raman
04f30870b6
ci: add Gen10 Arm Mali firmware to rootfs
...
Add firmware for Gen10 Arm Mali GPUs directly to rootfs since
it is not available from debian package. For the panthor kernel
driver to be able to execute jobs on the GPU it needs this firmware.
Update the kernel, which contains a fix to build the panthor driver
as module and use HWCI_KERNEL_MODULES to load panthor module.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31342 >
2024-10-01 07:57:42 +00:00