Timothy Arceri
d1b79ef57b
Revert "ci: Enable GALLIUM_DUMP_CPU=true only in the clang job"
...
Rob worded it well in 9e8450b65c .
"We don't want util_cpu to vomit cpu caps all over the test output."
This reverts commit c6979d97e4 .
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27564 >
(cherry picked from commit 62fa5c8d0f )
2024-02-14 17:04:18 +00:00
Caio Oliveira
dc2170f32b
ci: Add Werror=misleading-indentation to debian-clang
...
Due to some issues with GCC and this warning in very long files, we
disabled it when compiling NIR. Unfortunately by design Meson doesn't
allow us to set flags per source file.
The warning is still enabled in clang. but it is less commonly
used during development. To avoid missing catching those warnings,
add -Werror=misleading-indentation to the GitLab CI debian-clang build.
See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25315 for
more context. This patch is a transcription of what Eric Engestrom
suggested, except only targetting C flags (since we only disable them
for C in NIR build).
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26938 >
2024-01-09 05:56:16 +00:00
Pavel Ondračka
8b5cdc5fa5
ci: add r300 RV530 dEQP gles2 CI job
...
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26823 >
2024-01-08 16:19:20 +00:00
Karol Herbst
bc9fe6637b
ci: merge debian-rusticl-testing into debian-testing
...
There is really no point anymore having it split out.
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26807 >
2023-12-25 16:18:41 +00:00
Yonggang Luo
4d6d0a24ed
ci/msvc: Rename vs2019 to msvc
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Eric Engestrom
423f9d1bb0
ci: add nvk to the clang build
...
Would have prevented
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26772
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26781 >
2023-12-21 20:35:53 +00:00
Eric Engestrom
377c6b2d45
ci/build: drop redundant meson/build.sh from jobs that already inherit from .meson-build
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26714 >
2023-12-17 17:03:08 +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
02fe92c908
ci: disable opengl & gles in debian-vulkan build
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26369 >
2023-11-30 08:47:07 +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
David Heidelberg
ef217a9221
ci: simplify debian-rusticl-testing definition
...
This was originally split due testing both rusticl and clover.
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
1f2b50fbc2
ci: drop clover from release builds and remove rusticl build
...
Let's hope we don't see Clover in next release.
For rusticl, drop debian-rusticl and keep the debian-rusticl-testing.
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
Danylo Piliaiev
b048ba569a
ci: Compile Turnip's virtio kmd in debian-arm64
...
Nothing compiled virtio kmd in CI.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25531 >
2023-10-03 17:06:27 +00:00
Eric Engestrom
9618fefd18
ci: unify container and build jobs rules
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25294 >
2023-09-26 18:06:23 +00:00
Eric Engestrom
2009b9b5e2
ci: limit build jobs to 30min so that they can retry when they go wrong
...
Build jobs should never take more than 1-3 minutes.
These jobs are never slow, either they finish within reasonable time or
something has gone wrong and the job will never terminate, so we should
instead timeout and retry.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24995 >
2023-09-21 08:21:04 +00:00
Eric Engestrom
87281e7dd4
ci/windows: centralize definition of windows runners tags
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25183 >
2023-09-13 09:40:18 +00:00
Eric Engestrom
c9c2ba3839
ci: drop clover leftover
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24098 >
2023-09-09 01:49:25 +00:00
Vignesh Raman
4f199175c4
ci: enforce -Wimplicit-const-int-float-conversion for clang
...
All -Wimplicit-const-int-float-conversion warnings are fixed and ci
can drop -Wno-error=implicit-const-int-float-conversion.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Acked-by: Helen Koike <helen.koike@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24362 >
2023-09-06 12:38:09 +00:00
David Heidelberg
17021f70f4
ci/build: limit debian-build-testing to 30 minutes
...
Previous 45 minutes is too much.
- 5 - 15 minutes mesa LTO build
- 5 - 15 minutes shader-db run
Should be safe, in case something fails, we still can make another run.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24607 >
2023-08-12 13:35:23 +02:00
Eric Engestrom
efb3c93d5f
ci: build hasvk in debian-vulkan job
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24586 >
2023-08-10 14:53:21 +00:00
Eric Engestrom
9dfd8b3723
ci: reorder vk drivers alphabetically in debian-vulkan job
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24586 >
2023-08-10 14:53:21 +00:00
Eric Engestrom
edab54dd68
ci: build nvk
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24542 >
2023-08-08 11:43:18 +00:00
Yonggang Luo
a4f1c92688
ci: Testing -D shared-glapi=disabled with debian-clang-release
...
Acked-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23409 >
2023-06-27 20:25:09 +00:00
David Heidelberg
7b6629a694
ci: rename MINIO to S3
...
We don't use MINIO for a long time. Rename variable accordingly.
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23527 >
2023-06-10 01:31:16 +02:00
David Heidelberg
e1737c46b9
ci: rename S3 artifacts according to scheme mesa-$arch-$config-$buildtype
...
Make the S3 (previously MINIO) artifacts clearly identifiable by glance.
Also now we fail before compilation, if the job doesn't define
the BUILDTYPE variable to prevent confusion.
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23527 >
2023-06-10 01:31:13 +02:00
David Heidelberg
d4670eea0f
ci: explicitely state BUILDTYPE
...
Fail when a job gets introduced without build type.
It should be explicitly stated what job uses.
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23527 >
2023-06-10 01:30:12 +02:00
Christian Gmeiner
6d510fcdc5
ci: add debian-arm32-asan
...
I want to have the possibility to use asan in for etnaviv ci. As lot
devices in the my CI farm are arm32 based lets do some prep work.
I had to skip the mesa:util suite as there are some asan problems
on 32bit platform with the hash_map. Once they got sorted out we can
enable the suite again.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23493 >
2023-06-08 22:30:30 +00:00
Karol Herbst
d57303ace7
ci: add and use clippy for rusticl
...
Acked-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: Karol Herbst <git@karolherbst.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23522 >
2023-06-08 16:30:52 +00:00
David Heidelberg
fed5a50d0f
ci: missed variable inside the big rename and split ARCH and DEBIAN_ARCH
...
Fixes: 5140ff1948 ("ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23406 >
2023-06-06 17:28:09 +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
3db255a61a
ci/ccache: recent ccache changed a output a bit, adapt script
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23359 >
2023-06-01 13:13:31 +02:00
Dor Askayo
7e8e7f0823
ci: Disable "opencl-external-clang-headers" when "microsoft-clc" is enabled
...
Signed-off-by: Dor Askayo <dor.askayo@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23255 >
2023-05-31 14:21:25 +00:00
David Heidelberg
9c6321b006
ci: do not fail when SHA1 impl. produce stringop-overreads warning
...
When SHA1 gets purged from Mesa, drop the override.
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:53 +02:00
David Heidelberg
d538944655
ci: disable bogus GCC warning with -Warray-bounds
...
Reported: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109744
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:53 +02:00
David Heidelberg
b88080aa2e
ci: drop gallium-aux test on msan builds, renable freedreno
...
gallium-aux test cannot work properly without msan libc,
which we don't have available right now.
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:52 +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
Samuel Pitoiset
66a33888f0
ci: build drm-shim in debian-testing
...
This will be needed by RADV for using AMDGPU drm-shim.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23072 >
2023-05-19 06:59:31 +00:00
Yiwei Zhang
7d76038712
meson/ci: promote virtio-experimental to virtio
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22547 >
2023-05-03 22:42:30 +00:00
Michel Dänzer
98bb47ee45
ci: Enable rusticl in the fedora-release job
...
v2:
* Drop superfluous -D rust_std=2021 (Eric Engestrom)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718 >
2023-05-01 14:15:15 +00:00
Michel Dänzer
96dd394787
ci: Upgrade fedora-release job to Fedora 38
...
Need to add -Wno-error=dangling-reference -Wno-error=overloaded-virtual
for C++ for now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718 >
2023-05-01 14:15:15 +00:00
Michel Dänzer
5c6b07246d
ci: Drop -Wno-error=array-bounds from fedora-release job
...
No warnings left.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718 >
2023-05-01 14:15:15 +00:00
Eric Engestrom
16d5f65502
ci: always use the -Werror wrapper
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997 >
2023-03-22 17:28:07 +00:00
Eric Engestrom
6a0f12ba5f
ci: centralize detection of ccache in link-werror wrapper
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997 >
2023-03-22 17:28:07 +00:00
Michel Dänzer
2ead574abe
ci: Enable LTO for fedora-release job
...
Requires -Wno-error=... to be passed to the linking stage.
NOTE: This does not imply that it's safe to enable LTO for Fedora
package builds yet. It just helps prevent moving further away from that
long term goal.
v2:
* Keep passing -Wno-error=array-bounds & -Wno-error=stringop-overread.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781 >
2023-03-17 16:08:34 +00:00
Michel Dänzer
bca2bcfec9
ci: Make ccache optional
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781 >
2023-03-17 16:08:34 +00:00
Michel Dänzer
b6e0bf8b76
ci: Pass -Werror to compiler linking stage for LTO
...
With LTO, some compiler warnings are generated only at the compiler's
linking stage. Therefore -Werror needs to be passed to the linking stage
as well for warnings to be turned into errors.
Meson should really do this when both werror and b_lto are enabled, but
meanwhile let's do it ourselves.
We can't just add -Werror to c{,pp}_link_args, because those are passed
for Meson's feature checks, some of which generate warnings, resulting
in false negatives. We use gcc/g++ wrapper scripts instead.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781 >
2023-03-17 16:08:33 +00:00
Michel Dänzer
66e34fe914
ci: Split up -Werror workarounds for debian-mingw32-x86_64 job
...
Most of them are only needed for C++ code, one of them only for C.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781 >
2023-03-17 16:08:33 +00:00
Michel Dänzer
86496167ea
ci: Remove some -Werror workarounds for debian-android job
...
No more corresponding warnings.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781 >
2023-03-17 16:08:33 +00:00
David Heidelberg
7cf7d497e7
ci/clover: disable the jobs
...
Prepare for Clover removal; don't waste resources on Clover anymore.
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21865 >
2023-03-12 20:50:14 +01:00
Daniel Stone
8731721489
CI: Disable mingw job
...
mingw just hangs somewhere in Meson, with a totally unclear cause, when
trying to run winepath:
Program winepath found: YES (/usr/bin/winepath)
Running command: /usr/bin/winepath -w /builds/mesa/mesa/_build/src/util/process_test.exe
[... hangs forever ...]
root 27 0.0 0.0 4044 3232 ? S 17:10 0:00 bash .gitlab-ci/meson/build.sh
root 35 0.0 0.0 2811920 55800 ? Sl 17:10 0:00 Xvfb :0 -screen 0 1024x768x16
root 40 0.1 0.0 45484 40740 ? S 17:10 0:00 /usr/bin/python3 /usr/local/bin/meson setup _build --native-file=native.file --wrap-mode=nofallback --force-fallback-for perfetto -D prefix=/builds/mesa/mesa/install -D libdir=lib -D buildtype=debug -D build-tests=true -D c_args=-Wno-error=format -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=sign-compare -Wno-error=narrowing -D cpp_args=-Wno-error=format -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=sign-compare -Wno-error=narrowing -D enable-glcpp-tests=false -D libunwind=disabled -D gallium-opencl=icd -D gallium-rusticl=false -D opencl-spirv=true -D microsoft-clc=enabled -D static-libclc=all -D llvm=enabled -D gallium-va=enabled -D video-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -D gallium-drivers=swrast,d3d12,zink -D vulkan-drivers=swrast,amd,microsoft-experimental -D video-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -D werror=true -D min-windows-version=7 -D spirv-to-dxil=true -D gles1=enabled -D gles2=enabled -D osmesa=true -D cpp_rtti=true -D shared-glapi=enabled -D zlib=enabled --cross-file=.gitlab-ci/x86_64-w64-mingw32
root 1366 0.0 0.0 0 0 ? Z 17:10 0:00 [winepath.exe] <defunct>
root 1375 0.0 0.0 8544 7188 ? Ss 17:10 0:00 /usr/lib/wine/wineserver64 -p0
root 1381 0.0 0.0 2018764 11080 ? Ssl 17:10 0:00 C:\windows\system32\services.exe
root 1384 0.0 0.0 1821312 10044 ? Sl 17:10 0:00 C:\windows\system32\plugplay.exe
root 1386 0.0 0.0 1856096 23016 ? Sl 17:10 0:00 C:\windows\system32\explorer.exe /desktop
root 1393 0.0 0.0 1822712 11000 ? Sl 17:10 0:00 C:\windows\system32\winedevice.exe
root 1402 0.0 0.0 1778832 21456 ? S 17:10 0:00 winedbg --auto 26 80
root 1405 0.0 0.0 1891516 12192 ? Sl 17:11 0:00 C:\windows\system32\winedevice.exe
Disable it until we can figure it out.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21864 >
2023-03-12 17:25:12 +00:00