summaryrefslogtreecommitdiff
path: root/.gitlab-ci
AgeCommit message (Collapse)AuthorFilesLines
2023-04-13ci/rustfmt: make sure to only check each file onceEric Engestrom1-1/+1
rustfmt has some magic that follows files (I'm guessing), making files get checked multiple times with `*.rs`, so let's limit ourselves to `lib.rs`. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22321>
2023-04-13ci/android: Make armv8's arch aarch64 instead of arm.Tatsuyuki Ishi2-2/+2
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-12Uprev Piglit to 355ad6bcb2cb3d9e030b7c6eef2b076b0dfb4d63Collabora's Gfx CI Team2-4/+4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22325>
2023-04-10ci: Run clang-format on panfrostAlyssa Rosenzweig2-1/+2
So we don't regress formatting in the future. This should never really trigger if people configure their editors correctly, but it can help avoid regressing the formatting from drive-by patches. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22372>
2023-04-06CI/windows: Increase timeout for build container jobJesse Natalie1-0/+1
These jobs can take upwards of 40 minutes just to upload the built container images... Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22320>
2023-04-06CI/windows: Update headers and Agility redist to 1.710.0-previewJesse Natalie3-4/+4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22320>
2023-04-05ci: implement sections for cuttlefishDavid Heidelberg1-2/+4
Reviewed-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22005>
2023-04-04virgl/ci: clean up manual rules for virglErik Faye-Lund1-0/+12
In f6c06ef2f66 ("ci: Add manual rules variations to disable irrelevant driver jobs."), we fixed this for *most* driver. This fixes up the last driver, hopefully removing an annoying needless button in the UI for some MRs. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@igalia.com> Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22263>
2023-04-04ci: move virgl-rules after intel-rulesErik Faye-Lund1-32/+32
We're about to add a dependency on stuff from the intel-rules, and moving virgl down here allows us to depend on them without having to move the definition out of the intel-section. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@igalia.com> Acked-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22263>
2023-04-04Uprev Piglit to 2391a83d1639a7ab7bbea02853b922878687b0e5Collabora's Gfx CI Team2-4/+4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22279>
2023-03-31venus/ci: Only run one crosvm instanceCorentin Noël1-1/+1
As venus now has separate render server processes it is better to use a single crosvm instance to run all the tests. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21693>
2023-03-31ci: Uprev crosvm and virglrendererCorentin Noël2-12/+6
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21693>
2023-03-29ci/zink: Fix zink-tu-a618-traces perf job rulesGuilherme Gallo1-1/+2
The pipeline should create this job only when it is under performance enabled workflow, represented by the presence of MESA_CI_PERFORMANCE_ENABLED variable. For example: The following pipeline https://gitlab.freedesktop.org/gallo/mesa/-/pipelines/840525 has `zink-tu-a618-traces-performance` job, even if it was not triggered by marge-bot, which means that performance jobs should be disabled. This job should appear in pipelines with performance jobs enabled https://gitlab.freedesktop.org/gallo/mesa/-/pipelines/840529 Fixes: 93e3d37b47c77b19b330e3d5c6d2440108636952 Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22155>
2023-03-24ci/zink: Add zink-turnip-manual-rulesGuilherme Gallo1-0/+6
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: Add piglit traces hidden jobsGuilherme Gallo1-0/+38
To better organize traces and traces-performance jobs that uses piglit to replay traces. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: remove deqp from lava piglit and traces runsDavid Heidelberg1-4/+4
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: create lava-test without deqp HWCI_TEST_SCRIPTDavid Heidelberg1-5/+21
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: rename .lava-test to .lava-test-deqp to describe it correctlyDavid Heidelberg1-8/+7
.lava-test hidden job was setting the HWCI_TEST_SCRIPT variable to deqp runner. But that is not always the case. When we run piglit traces jobs, we use piglit-traces.sh instead, for example. Splitting into: - .lava-test-deqp (deqp-runner + deqp) - .lava-traces (deqp-runner + piglit) - .lava-piglit (piglit-runner + piglit) Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Co-authored-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: Fix freedreno-rules-performanceGuilherme Gallo1-1/+2
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-24ci: Improve piglit-traces "no-perf" filterGuilherme Gallo1-2/+2
We filter out traces that work only in standard replay mode but not profile one via yq (jq for YAML) manipulation. The previous query needed to be fixed in some scenarios, such as traces labeled with only `["no-perf"]`, which was being ignored by the query. This commit updates the yq query with newer syntax to cover all current cases (at least for freedreno). Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22065>
2023-03-23ci: bump Alpine to 3.17 (again)David Heidelberg2-2/+2
Now with fixed ccache 4.7.5. `ccache` changelog: Disabled the inode cache by default again since there have reports of ccache processes hanging on futex calls related to the inode cache. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22037>
2023-03-23ci/windows: Update warp to 1.0.5Jesse Natalie2-2/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22034>
2023-03-22ci: deduplicate compiler wrappersEric Engestrom9-68/+17
Signed-off-by: Eric Engestrom <eric@igalia.com> Suggested-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21997>
2023-03-22ci: always use the -Werror wrapperEric Engestrom3-11/+11
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-22ci: add linker wrapper for clangEric Engestrom2-0/+42
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-22ci: centralize detection of ccache in link-werror wrapperEric Engestrom6-40/+19
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-20Uprev Piglit to 60e7f0586bac0cfcfcb5871046e31ca2057a5117Collabora's Gfx CI Team2-4/+4
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21640>
2023-03-19ci: distribute XDG_RUNTIME_DIR with setup-test-env scriptDavid Heidelberg3-6/+3
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8615 Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8646 Reviewed-by: Eric Engestrom <eric@igalia.com> 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/22004>
2023-03-17ci/b2c: increase the console timeout to 4 minutesMartin Roukala (né Peres)1-1/+1
When downloading new containers, we can often trip the 2 minutes console activity timeout. This will be improved in the next b2c version[1] but let's increase it until we address it. [1] https://gitlab.freedesktop.org/mupuf/boot2container/-/issues/51 Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21983>
2023-03-17ci: Enforce clang-format for asahiAlyssa Rosenzweig2-0/+20
Some drivers use clang-format exclusively. We would like to lint for correct formatting in CI to catch style issues before they land, because mixing clang-format and not clang-format within a codebase is a recipe for conflicts. We don't expect this lint to ever fail in "normal" usage, since we expect developers on these drivers to setup automatic formatting in their editor. However, it can be useful as a failsafe or for drive-by contributors who don't know the style guide. Enable the linting for Asahi. We'll enable for Panfrost shortly, but Panfrost isn't clang-format clean quite yet. 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-17ci: Add clang-format to the amd64 containerAlyssa Rosenzweig3-1/+7
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-17ci: Enable LTO for fedora-release jobMichel Dänzer1-2/+9
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-17ci: Install procps-ng in Fedora imageMichel Dänzer2-1/+2
For GCC LTO wrapper scripts. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-17ci: Drop ccache from Fedora imageMichel Dänzer2-2/+1
It started hanging in F36 as well. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-17ci: Make ccache optionalMichel Dänzer7-27/+66
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-17ci: Allow passing c{,pp}_link_args to mesonMichel Dänzer1-0/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-17ci: Pass -Werror to compiler linking stage for LTOMichel Dänzer4-1/+35
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-17ci: Split up -Werror workarounds for debian-mingw32-x86_64 jobMichel Dänzer1-2/+3
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-17ci: Remove some -Werror workarounds for debian-android jobMichel Dänzer1-6/+0
No more corresponding warnings. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-16android/ci: raise error on script when not related to the testsHelen Koike1-1/+3
The cuttlefish-runner.sh script was failing before reaching the test suite execution (which was not executing the complete test suite due to the previous non-catched failures, and was erroneous passing) and we were not catching that. Add set -e so we can catch those. Signed-off-by: Helen Koike <helen.koike@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21941>
2023-03-16android/ci: Fix call to adbHelen Koike1-1/+1
Call to adb should be made with ADB variable, following the pattern from the script. Signed-off-by: Helen Koike <helen.koike@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21941>
2023-03-16android/ci: fix removal of inexistent fileHelen Koike1-1/+1
file libEGL_mesa.so doesn't exist and the rm command was failing, replace by libGLES_mesa.so which exists. Signed-off-by: Helen Koike <helen.koike@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21941>
2023-03-14ci: Allow to use crosvm-runner before deqp-runnerCorentin Noël2-3/+6
Since the addition of unified sections, many scripts need to be aware of the content of the setup-test-env.sh file. The use of bash is also mandatory to have exports of function declarations. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21900>
2023-03-14ci: Setup XDG_RUNTIME_DIR in crosvm-initCorentin Noël1-0/+3
This environment variable has to be set to use the wayland platform. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21900>
2023-03-14ci: group RESULT logic in a single placeEric Engestrom1-2/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
2023-03-14ci/rustfmt: print which files are checkedEric Engestrom1-1/+1
And how long that took, in case it ever becomes a problem. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
2023-03-14ci/rustfmt: simplify getting all the rust filesEric Engestrom1-1/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
2023-03-14ci: drop redundant .no_scheduled_pipelines-rules + .core-rules since the ↵Eric Engestrom1-2/+0
latter already includes it Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21884>
2023-03-14ci/valve-farm-rules: allow running jobs from outside the mesa namespaceMartin Roukala (né Peres)1-5/+0
This has been requested as it breaks the stress and uprev tools, so the requirement was dropped in the Valve farms. This commit mirrors the change in Mesa. Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21872>
2023-03-14ci/b2c: move away from the hand-rolled initscriptMartin Roukala (né Peres)1-2/+2
Up until now, we have been handrolling part of the init-stage2.sh in the b2c command line. Let's stop doing that and instead use the same script as every other HW farms. Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21872>