Guilherme Gallo
742c3846e8
ci/container: set up S3_JWT_FILE also for container jobs
...
Set up "${S3_JWT_FILE}" also for container jobs, this can be useful in
case some jobs want to save something to S3.
Note that for container jobs setting the file /s3_swt in the
`default:before_script` section would not work: this wold be "too early"
because, when using ci-templates, the cbuild invocation switches the
root filesystem before executing FDO_DISTRIBUTION_EXEC, resulting in the
file becoming unavailable after the switch.
So set up the file exactly in FDO_DISTRIBUTION_EXEC, before launching
the actual container script.
Do this using a new trampoline script
.gitlab-ci/container/container_job_trampoline.sh so that in the future
other tasks common to all container jobs can be added there.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31093 >
2024-12-20 04:40:52 +00:00
Samuel Pitoiset
f0797c60e5
ci: uprev vkd3d-proton to c965c1351fd6915a65bb7f647319536252a24a93
...
This is 2.14 and it contains more tests.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32674 >
2024-12-17 16:00:34 +00:00
Deborah Brouwer
dca6310182
ci: debian/x86_64_pyutils remove redundant rules
...
The debian/x86_64_pyutils job incorporates references to rules from the
python-test and .container jobs, but currently these jobs don't have any
express rules. The .container job does extend jobs that have rules, but
these same rules are already included in debian/x86_64 because it
extends the .debian-container job.
Remove these empty rule references to make debian/x86_64_pyutils more
readable.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32340 >
2024-12-13 10:04:03 -08:00
Collabora's Gfx CI Team
8085984aa2
Uprev Piglit to 4c0fd15fd956ec70c5509bedee219d602b334464
...
https://gitlab.freedesktop.org/mesa/piglit/-/compare/468221c722481c470e6a23760b914c33143c2af6...4c0fd15fd956ec70c5509bedee219d602b334464
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32478 >
2024-12-12 09:33:59 +00:00
Samuel Pitoiset
ea112cf84d
ci: update VKCTS main to a9f7069b9a5ba94715a175cb1818ed504add0107
...
This contains many more tests for Vulkan 1.4, but the Vulkan loader
probably needs an update too.
This should only affect RADV which is the only user for VKCTS main.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32475 >
2024-12-05 08:06:23 +00:00
Collabora's Gfx CI Team
52f13f5603
Uprev Piglit to 468221c722481c470e6a23760b914c33143c2af6
...
https://gitlab.freedesktop.org/mesa/piglit/-/compare/d04d6fff00849a2a8e29ef3251c6ca04a2f68dc7...468221c722481c470e6a23760b914c33143c2af6
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32272 >
2024-12-02 12:13:05 +00:00
Eric Engestrom
beab815670
ci/deqp: add a deqp-vk build on the main branch
...
To be able to run new tests as soon as they are merged, instead of
having to wait for the next official CTS release
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
328a3de7cc
ci/lava: turn the $BUILD_VK check into a proper if block
...
Allows us to simply add something in the block in the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
ec27d138cb
ci/deqp: only print the commit list header when the list is not empty
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
044cab6751
ci/deqp: mention the deqp api in the version string
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
ffb6c3e1de
ci/deqp: simplify generating the version description file
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
72a2b92e3e
ci/deqp: support having commit backports and local patches for main too
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
1634ad2782
ci/deqp: fix the "is this a build on main?" check
...
Suggested-by: Antonio Ospite
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
601088aebb
ci/deqp: simplify paths since we are already in /deqp-$deqp_api/
...
Some commands used relative paths, while most used complex absolute
paths; let's just avoid unnecessary complexity.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Antonio Ospite
3bdb77e378
ci/deqp: replace local android patches with upstream solution
...
In commit a34982063 (Support standalone executable builds on Android,
2024-09-12) upstream VK-GL-CTS added support for building deqp as an
executable command for Android, this change is included in the vulkan
branch used by build-deqp.sh so the custom patches can be dropped for
the Vulkan CTS build.
After that and by passing -DDEQP_ANDROID_EXE=ON deqp can now be built
with DEQP_API=tools.
[Eric]
Note that the upstream solution seems to be broken on EGL, so GL & GLES
continue to use the local android patches; for more details, see:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168#note_2676128
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Vignesh Raman
aa8cd5ea7b
ci: Uprev crosvm
...
With Linux kernel 6.12-rc2, crosvm crashes in drm-ci
with the following error,
[ERROR crosvm::sys::linux::panic_hook] thread 'crosvm_vcpu0' panicked at devices/src/virtio/gpu/mod.rs:1761:14:
[ERROR crosvm::sys::linux::panic_hook] failed to send activation resources to worker thread: SendError { .. }
Uprev crosvm to fix this issue.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31900 >
2024-11-27 03:07:02 +00:00
Eric Engestrom
c20e9868bf
ci/container: setup sections in all image builds
...
Several of them don't use sections yet, but let's just have it
everywhere to avoid weird surprised when moving code around and suddenly
a section is used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32299 >
2024-11-22 11:40:56 +01:00
Eric Engestrom
ad42be50c9
ci/deqp: fully isolate deqp builds
...
Since the builds can be from very different versions of the code, we
need to make sure the common bits are compiled from the correct code.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
1b973278bd
ci/deqp: make sure the main commit is actually from the main branch
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
84e855953c
ci/deqp: add build of main branch
...
For now, this just contains the tools unrelated to any API being tested
(`testlog-to-{xml,csv,junit})`.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
e3c3b270d8
ci/deqp: build glcts in gles build, for gles*-khr tests
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
393eafe10b
ci/deqp: error out in case of invalid build API
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
9a689b15d9
ci/deqp: avoid downloading 1.47 GiB multiple times
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
7832ff9b26
ci/deqp: fetch & checkout exactly the commit/tag/branch requested
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
97e6bda35c
ci/deqp: build testlog tools on android
...
`cuttlefish-runner.sh` uses them so we can't skip them
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
e549b6fba2
ci/deqp: only compress caselists when they exist
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
08e5a50921
ci/deqp: move testlog-to-* tools to /deqp
...
While at it, make it a move instead of copy + delete.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
4facfd6f4d
ci/container: add section around strip-rootfs.sh
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
31a23d9801
ci/lava: add setup-test-env.sh to the rootfs
...
This allows strip-rootfs.sh to use sections, useful in the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
05b2024c36
ci/container: close debian_{setup,cleanup} sections
...
Allowing users to collapse them without hiding everything.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b693b704d9
ci/container: add sections around the other build scripts
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
bc59acee8e
ci/container: move wayland build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b18cb0cb31
ci/container: move vulkan-validation build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
5655a30412
ci/container: move vkd3d-proton build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b791074f2e
ci/container: move rust build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
bc5ae2e5cb
ci/container: move piglit build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
999cc1a86f
ci/container: move ninetests build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
500c1c2d7c
ci/container: move mold build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
0a7ab7da1a
ci/container: move llvm-spirv build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
0cebd6b097
ci/container: move libclc build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
aba579811b
ci/container: move kdl build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
5bfd49215b
ci/container: move gfxreconstruct build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
493bebb9e9
ci/container: move fossilize build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
a824381408
ci/container: move deqp-runner build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
33ea8d3b81
ci/container: move crosvm build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
07de2140a3
ci/container: move apitrace build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
6551fb6504
ci/container: move deqp build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
524231d119
ci: when installing mold, make its use automatic
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046 >
2024-11-21 15:33:31 +00:00
Eric Engestrom
ba0bb03c84
ci: drop override forcing ld to be gold (and forcing gold to be installed everywhere)
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046 >
2024-11-21 15:33:31 +00:00
Gert Wollny
2a35d1a13f
ci: Upref virglrenderer version
...
The host has changes that are required by the latest virgl patches.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31624 >
2024-11-21 09:23:10 +00:00