Eric Engestrom
e1935daa19
ci: convert several find | xargs to find -exec
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26896 >
2024-01-10 20:13:01 +00:00
David Heidelberg
4023301010
ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)
...
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26814 >
2024-01-10 01:38:49 +00:00
Karol Herbst
d72544eea6
ci,rusticl: bump meson req to 1.3.1
...
See https://github.com/mesonbuild/meson/pull/12620
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24386 >
2024-01-06 03:09:48 +00:00
Eric Engestrom
666f27d228
ci/containers: use build-libdrm.sh in debian/android
...
The extra complexity is not worth saving the 3x 468 KB of bandwidth
wasted every time we rebuild this container because we delete the
tarball inside the script.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26825 >
2023-12-28 14:13:39 +00:00
Vignesh Raman
2487e18d4e
ci: bare-metal: poe: Create strutured logs
...
Use the CustomLogger class and CLI tool to create strutured logs
for poe scripts which are used by broadcom and nouveau jobs.
Renamed stage lint to code-validation and added python-test job
which runs the tests for structured and customer logger to ci.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25179 >
2023-12-19 10:09:35 +00:00
Sil Vilerino
936dd81ed9
ci: Build d3d12 gallium driver in debian-x86_32
...
Adding d3d12 to this ci build will prevent issues such
as #6708 or fixes like !26363 from happening again in the future.
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26447 >
2023-12-04 21:06:16 +00:00
Eric Engestrom
827bbe4829
ci: use released version of meson
...
This was needed before 1.3.0 was released, but now we can use 1.3.0 :)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26289 >
2023-11-24 20:45:45 +00:00
Faith Ekstrand
07e860d3a2
ci: Bump container images for NAK dependencies
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998 >
2023-11-14 00:48:15 +00:00
David Heidelberg
17d6baff82
ci: drop debootstrap, unused
...
Most likely was historically used there, but not recently.
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
e4d6da5ba3
ci: bashify scripts, use arrays
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
e678483ecd
ci: always cleanup pip and cargo leftovers
...
This is leftovers from the compilation/installation phase.
In the build containers this took around ~ 400 MB.
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
c6928a4e6e
ci: drop mingw and wine from the x86_64 build container
...
MinGW is currently disabled and new implementation will handle things
differently anyway.
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
Eric Engestrom
2e100bd69b
ci: move shader-db clone/build into its own script
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504 >
2023-09-30 14:55:09 +00:00
Eric Engestrom
21fa677712
ci: document which image tags need to be bumped when updating {alpine,debian,fedora}/x86_64
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25120 >
2023-09-15 12:12:31 +00:00
Helen Koike
c5a6cdfeb9
ci: add locked flag to bindgen-cli on x86_64_build.sh
...
since the dependencies were not locked, they got updated and generating
a new container is throwing errors like the following:
error: failed to compile `bindgen-cli v0.62.0`, intermediate artifacts can be found at `/tmp/cargo-installcP54m7`
Caused by:
package `memchr v2.6.3` cannot be built because it requires rustc 1.61 or newer, while the currently active rustc version is 1.60.0
rust packages have Cargo.lock file from when they were released, so add
--locked flag to use it.
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25226 >
2023-09-14 23:30:27 +00:00
Eric Engestrom
2c6dc51a90
ci: include mold in x86_64_test-base & rootfs images
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24490 >
2023-08-04 16:47:11 +00:00
Karol Herbst
ec93d46a7c
meson,ci: bump meson req for rusticl to 1.2
...
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21451 >
2023-08-01 13:16:55 +00:00
Helen Koike
a3d10300b0
ci: add EXTRA_LOCAL_PACKAGES to apt-get install
...
This can make it more convenient for other projects to reuse these
scripts.
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23894 >
2023-07-13 01:06:29 +00:00
David Heidelberg
69614e859e
ci/container: we need to keep the wine inside
...
Needed for testing with wine apitrace.
Reviewed-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24056 >
2023-07-10 19:57:45 +00:00
David Heidelberg
a0ae98f345
ci/container: add weston into Vulkan container
...
Reviewed-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24056 >
2023-07-10 19:57:45 +00:00
Sil Vilerino
86785130d1
CI/windows: Update headers and Agility redist to 1.711.3-preview
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23811 >
2023-06-27 23:16:37 +00:00
Karol Herbst
18f1087a21
rusticl: bump bindgen requirement
...
Apparently on some ARM systems any older bindgen version crashes.
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Nora Allen <blackcatgames@protonmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23840 >
2023-06-24 15:37:18 +00:00
David Heidelberg
5140ff1948
ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8049
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23282 >
2023-06-02 21:30:15 +02:00
David Heidelberg
7cbd8f3742
ci/crosvm: install libelogind0 and sysvinit-core for poweroff functionality
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:51 +02:00
David Heidelberg
848f59deda
ci: bump from Debian 11 (bullseye) to 12 (bookworm)
...
Already in hard-freeze, so we don't have to worry about breaking changes.
Significant changes:
- LLVM 15 is used instead of 11 or 13
- /dev/shm has to be manually mounted
- Debian 12 uses libdrm 2.4.114
- reworked creating of rootfs, from debootstrap to mmdebstrap
- split `create-rootfs.sh` into `lava_build.sh`, `setup-rootfs.sh`, and `strip-rootfs.sh`
- dropped winehq repository for now (Debian wine is up-to-date enough)
- we use wine now, no need to call explicitly call wine64
- bumped libasan from version 6 to 8
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:51 +02:00
David Heidelberg
80b7787bab
ci: install stock android-libext4-utils (available in 12, bookworm)
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:50 +02:00
David Heidelberg
993ed1f026
ci: bump libdrm from 2.4.110 to 2.4.114 present in Debian 12
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:50 +02:00
David Heidelberg
1966eff8a6
ci: use meson setup and meson install instead of meson and invoking ninja directly
...
Not primary scope of relevant MR, just some incremental changes.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:50 +02:00
David Heidelberg
bb54ae1d26
ci: move from pkg-config to pkgconf
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:49 +02:00
David Heidelberg
2bd17f832c
ci: add a660 firmware into rootfs
...
Until we bump to Debian 12 (bookworm).
Acked-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22604 >
2023-04-25 20:41:50 +00:00
David Heidelberg
74525f8576
ci: uninstall libdrm from the GL and VK containers
...
Occasionally causing troubles on -valve jobs.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
1fcfcaf008
ci: drop overriding new a530 firmware due to preemption issues with older kernel
...
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8825
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
Giancarlo Devich
cc6d87b462
d3d12: Update and require DirectX-Headers 1.610.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22454 >
2023-04-14 03:19:22 +00:00
Tatsuyuki Ishi
36fd2bbd98
ci/android: Make armv8's arch aarch64 instead of arm.
...
Per [1], arm is for 32-bit.
For an upcoming change, we need to detect AArch64 specifically.
Specifying arm in the cross file will result in the wrong build script
behavior.
[1]: https://mesonbuild.com/Reference-tables.html#cpu-families
Reviewed-by: Helen Koike <helen.koike@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22418 >
2023-04-13 04:28:29 +00:00
Alyssa Rosenzweig
5c1b360eaa
ci: Add clang-format to the amd64 container
...
We need clang-format available in order to check for formatting errors later.
Add it to the amd64 container only (this requires some shenigans to avoid
multi-arch conflicts).
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20553 >
2023-03-17 19:59:21 +00:00
Guilherme Gallo
c85f3fbbb7
ci/lava: Add LavaFarm class to find LAVA farm from runner tag
...
LavaFarm is a class created to handle the different types of LAVA farms
and their tags in Mesa CI. Since specific jobs may require different
types of LAVA farms to run on, it is essential to determine which farm
the runner is running on to configure the job correctly.
LavaFarm provides an easy-to-use interface for checking the runner tag
and returning the corresponding LAVA farm, making it simple for Mesa CI
to configure jobs appropriately. By adding tests for LavaFarm, the team
can ensure that this class is functioning as expected, allowing for the
smooth execution of Mesa CI jobs on the correct LAVA farm.
The tests ensure that get_lava_farm returns the correct LavaFarm value
when given invalid or valid tags and that it returns LavaFarm.UNKNOWN
when no tag is provided. The tests use Hypothesis strategies to generate
various labels and farms for testing.
Example of use:
```
from lava.utils.lava_farm import LavaFarm, get_lava_farm
lava_farm = get_lava_farm()
if lava_farm == LavaFarm.DUMMY:
# Configure the job for the DUMMY farm
...
elif lava_farm == LavaFarm.COLLABORA:
# Configure the job for the COLLABORA farm
...
elif lava_farm == LavaFarm.KERNELCI:
# Configure the job for the KERNELCI farm
...
else:
# Handle the case where the LAVA farm is unknown
...
```
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21325 >
2023-02-16 13:08:41 +00:00
Guilherme Gallo
ca110658b7
ci/lava: Move LAVA dependencies to pip
...
Use requirements.txt and requirements-test.txt to organize better Python
dependencies related to LAVA.
Now LAVA tooling can use recent and fixed library versions.
And test-related libs will not trigger container rebuilding anymore.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21325 >
2023-02-16 13:08:41 +00:00
Karol Herbst
4b841cfec8
rusticl: fix build error with valgrind being enabled
...
This bumps the meson requierement to 1.0 because it requires
https://github.com/mesonbuild/meson/pull/11024
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7688
Fixes: 20c90fed5a ("rusticl: added")
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19778 >
2023-01-30 03:41:39 +01:00
Martin Roukala (né Peres)
d7f429ccc1
ci/debian/x86_test-vk: drop an outdated dependency
...
This was used by the tracing jobs, which we are not running on Mesa
anymore.
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20956 >
2023-01-27 14:46:33 +02:00
Helen Koike
7b51a583ed
ci/android: add android to the ci
...
Add android to the ci, so we can test mesa on it.
Add debian/x86_test-android and test-android jobs.
One build the container to run tests, and the other execute the tests.
Android is executed on top of cuttlefish VM with virgl.
Mesa libs are replaced on the cuttlefish image, and deqp and deqp-runner
are used to execute tests.
Co-developed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019 >
2023-01-25 08:58:26 -03:00
Tomeu Vizoso
d024af8d00
ci: Use NDK 25b to build for the Android ABI level 33
...
25b is the currently supported NDK, as per the below:
https://github.com/android/ndk/wiki
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019 >
2023-01-25 08:58:25 -03:00
Helen Koike
d66cfe6a3e
ci/android: move sdk version and ndk to a job variable
...
make it easier to update sdk version and ndk without the need to make
changes all over the code.
Suggested-by: David Heidelberg <david.heidelberg@collabora.com >
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019 >
2023-01-25 08:58:25 -03:00
Emma Anholt
512f1c160a
ci/zink: Add coverage using the vulkan validation layer on lvp.
...
Let's make sure we aren't introducing new validation failures as
development proceeds. Basically, we record the current set of known
validation failures from the CTS, and for any validation failure we have
the layer log it and abort.
I had started encoding xfails from piglit, but it turns out that piglit
and the validation layer fight about the teardown process, producing
use-after-frees.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20756 >
2023-01-24 20:56:13 +00:00
David Heidelberg
a8d2b288ee
ci/piglit: 2023-01-19 uprev
...
Emergency uprev to get robustness against http 50x errors for traces.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20788 >
2023-01-19 23:46:44 +00:00
David Heidelberg
796686af1b
ci: migrate from wget to curl
...
Better error handling is more reliable.
Options:
-L, follow location
--retry, number of retries
--retry-all-errors, does not fail on ALL errors, that's why there is -f
-f, fail fast with no output at all on server errors
--retry-delay, make curl sleep this amount of time before each retry
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20788 >
2023-01-19 23:46:44 +00:00
David Heidelberg
1abd3a3051
ci/piglit: explicitely define we want GLX tests
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20788 >
2023-01-19 23:46:44 +00:00
Guilherme Gallo
bbdbf0862c
ci/lava: Update lavacli version
...
- Use new YAML loader derived from ruamel.yaml
- Remove PyYAML dependency from LAVA job submitter package
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20596 >
2023-01-10 20:10:49 +00:00
Erico Nunes
cf64ca6a0c
ci: enable wayland platform in more debian builds
...
CI has recently gained coverage of wayland platform in EGL tests, but
some CI mesa builds such as arm builds currently don't enable the
wayland platform.
Enable it so test applications can properly initialize EGL with a
wayland platform.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20480 >
2023-01-06 15:00:57 +00:00
Sil Vilerino
e34c0a3116
ci: Update mingw and vs2019 libva build dependency to libva/releases/tag/2.17.0
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20498 >
2023-01-03 20:12:38 +00:00
David Heidelberg
733498a4eb
ci/arm_build: follow x86 and install newer Meson
...
This allows us utilize meson env2mfile.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19863 >
2022-12-02 00:33:10 +00:00