summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2020-10-13gitlab-ci: add broadcom vulkan driverAlejandro Piñeiro1-4/+4
At this point we are only interested to test if it keeps building. v2: include meson-arm64 (Eric) Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-10CI: build our own spirv toolsDave Airlie1-2/+2
This causes a lot of hiccups on the CL tests, but I've got most of them fixed in another MR in pieces. This should at least give a much more realistic baseline. v2: use script in both places Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7073>
2020-10-08ci: enable piglit testing of clover/llvmpipe.Dave Airlie1-4/+50
This adds support for building clover/llvmpipe and running the piglit CL tests on it. It uses the gl testing container, and add builds the libclc spirv libraries as part of that which requires the llvm spirv translator in the build container. It also builds the llvm spirv translator as part of the build root and creates a mesa build that builds clover for testing against it. It uses llvm 10 as the baseline. This drops bswap as it has an oob memory access with llvmpipe which cause flaky test results. phatk also seems flaky Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6901>
2020-10-08ci: move to using clang 10 for meson + cloverDave Airlie1-13/+14
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7017>
2020-09-29ci: Enable remaining (non-rotate) mustpass CTS testsRob Clark1-0/+30
The gles3 and gles31 multisample and 565-no-depth-no-stencil caselists are also mustpass. And they don't add a significant number of extra test cases. The remaining mustpass caselists all involve rotation, which is not currently supported in the surfaceless deqp build. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6553>
2020-09-29ci: cherry-pick deqp fix for config choosingRob Clark1-1/+1
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6553>
2020-09-26clover: set LLVM min version to 8.0.1Serge Martin1-19/+0
It also bump from 8.0.0 to .1 for AMD gallium and VK Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6336>
2020-09-25ci: Extend meson-clang coverage by compiling all gallium driversBoris Brezillon1-1/+1
Some compile-time regressions go unnoticed because not all gallium drivers are compiled as part of the meson-clang job. Let's pass an explicit list of drivers to compile instead of setting GALLIUM_DRIVERS to "auto" to increase CI coverage. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6811>
2020-09-21ci: Don't create test-docs job if the pages one exists in the pipelineMichel Dänzer1-0/+3
It's redundant in that case. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Prevent pages job from running in pre-merge pipelinesMichel Dänzer1-1/+1
Since pre-merge pipelines run in the "mesa" namespace now, the rule would have created the job if the source branch was named "master" (and the job might have updated the public website). Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Always use CI_PROJECT_NAMESPACE instead of CI_PROJECT_PATHMichel Dänzer1-3/+3
And always check it first. Cleanup for consistency. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is for Marge Bot" YAML anchorMichel Dänzer1-1/+4
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is pre-merge pipeline" YAML anchorMichel Dänzer1-1/+4
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is post-merge pipeline" YAML anchorMichel Dänzer1-2/+5
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is forked branch" YAML anchorMichel Dänzer1-1/+4
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is forked branch or pre-merge pipeline" YAML anchorMichel Dänzer1-1/+4
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is post-merge pipeline, not for Marge Bot" YAML anchorMichel Dänzer1-2/+5
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is pre-merge pipeline for Marge Bot" YAML anchorMichel Dänzer1-2/+5
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is master branch of main project" YAML anchorMichel Dänzer1-1/+10
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-21ci: Add "is scheduled pipeline" YAML anchorMichel Dänzer1-3/+3
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
2020-09-10ci: do not build libdrm for vc4, reedreno and etnavivChristian Gmeiner1-7/+7
They are using a in source tree version of the needed libdrm functionality or are shipping all needed headers in the source tree. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6672>
2020-09-09ci/bare-metal: Update the kernel to msm-next-pgtablesEric Anholt1-1/+1
I'd like to see this new non-UAPI feature bake in CI. More importantly, it may prevent some classes of flakes on cheza by isolating the processes on the GPU so that a fault in one doesn't stomp over memory in another. I've also pulled in a fix that etnaviv needed for their upcoming CI. We add a few more kernel options while uprevving: - More interconnect drivers for getting good GPU perf - PRNG so that we don't get late-in-boot complaints about randomness. - db820c's power domains and ethernet so hopefully we can switch to this upstream kernel This seems to slightly change the flakes happening in bypass mode, so add them to the list. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6592>
2020-09-08gitlab-ci: Enable unit test report for arm64_a630_tracesAlexandros Frantzis1-0/+3
Inform gitlab about the JUnit XML file that tracie produces, so that the pipeline page can present more detailed information about tracie test results. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6598>
2020-09-08gitlab-ci: Enable unit test reports for normal runner traces jobsAlexandros Frantzis1-0/+3
Inform gitlab about the JUnit XML file that tracie produces, so that the pipeline page can present more detailed information about tracie test results. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6598>
2020-09-08mesa/st: enable EXT_color_buffer_half_float when formats supportedTapani Pälli1-1/+1
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6491>
2020-09-02ci: Do not create manual test-docs job in post-merge pipelinesMichel Dänzer1-1/+2
Only in pre-merge pipelines for MRs, or in pipelines for forked project branches. Having the manual job in post-merge pipelines prevented the pages job from running automatically as well, which could prevent the public website from getting updated. Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6534>
2020-09-01ci: Enable KHR-GL30 CTS testing on freedreno a630.Eric Anholt1-0/+5
Since we expose desktop GL, let's get at least a little bit of testing coverage of it. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6526>
2020-09-01ci: Use the same VK-GL-CTS tree for GL/GLES as VK.Eric Anholt1-2/+2
There's no need to have separate build scripts here, just choose what the DEQP_TARGET is for the particular container being built. This brings in a tremendous number of GLES test fixes that haven't made it into a tagged gles CTS release. Closes: #2056 Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6526>
2020-09-01ci: Bump vulkan CTS version to 1.2.3.2, and keep the GL CTS around.Eric Anholt1-2/+2
The version bump gets us various testcase fixes, mostly to test requirements). While we're rebuilding the container, copy GL CTS stuff from build-deqp-gl.sh -- we had already included the glcts binary in our image, but we had unnecessary other binaries and were missing the mustpass files (container size stays the same overall). Also pull in all the GLES mustpass lists, not just the main ones -- Rob wants them to increase our coverage to match what Android CTS covers. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6526>
2020-09-01ci: Restrict "success" job to pipelines for MRsMichel Dänzer1-1/+2
Expected benefits: * No more spurious non-MR pipelines with just this job. * No more warnings from GitLab such as on https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/195778 Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6492>
2020-09-01ci: Don't exclude "success" job from mesa/mesa pipelines for MRsMichel Dänzer1-1/+1
Since the last GitLab update, pre-merge pipelines for MRs run in the mesa/mesa namespace, so this job didn't get created anymore, causing trouble. Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6522>
2020-09-01ci: Create test-docs job in mesa/mesa pipelines for MRsMichel Dänzer1-2/+3
Since the last GitLab update, pre-merge pipelines for MRs run in the mesa/mesa namespace, so this job didn't get created anymore, causing trouble. Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6522>
2020-08-31ci: Switch to using gold as the linker.Eric Anholt1-12/+12
Debian defaults to bfd, which is comically slow. We can't use lld because the old version we have in the debian stable we use has various bugs. This required bumping libwayland, which had multiply-defined symbols issues in the previous release. Closes: #3236 Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6324>
2020-08-28ci: Add a release build with -Werror enabled.Eric Anholt1-0/+30
This will keep us from needing new MRs to fix up release build warnings after the fact. I've mostly derived from meson-gallium, dropping components that aren't clean yet. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6462>
2020-08-28CI: Disable Windows againDaniel Stone1-2/+2
We thought HTTP was stable after nginx changes, but sadly it isn't. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6495>
2020-08-28CI: Re-enable VS2019 buildDaniel Stone1-2/+2
Now that we have a more powerful runner and a more stable Docker configuration, try re-enabling the Windows build. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6446>
2020-08-27ci: Fix up rules for post-merge / main project branch pipelinesMichel Dänzer1-2/+2
Pre-merge pipelines for MRs appear to run in the target project namespace now, so we have to explicitly rule those out. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6481>
2020-08-26ci: Test the KHR-GL* CTS cases with softpipe.Eric Anholt1-0/+9
I've been hacking on softpipe in the process of trying to delete a bunch of core Mesa code, and want to make sure I don't regress desktop GL either. The run takes under a minute and a half. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6466>
2020-08-20ci/freedreno: Move our skips lists over to being known-flakes lists.Eric Anholt1-3/+4
This makes sure that we keep executing the tests so that we can get our alerts in IRC and know whether the tests are still flaking. It also keeps us from having adjustments to the skip list causing failures/flakes to move to different tests (as seen with a530 having to move some xfails around after changing the skip list) Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6392>
2020-08-19gitlab-ci: reorder container_post_build call for arm64_test imageAndres Gomez1-1/+1
And remove a redundant call to ccache --show-stats Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6343>
2020-08-19ci: Split traces.yml file per driverTomeu Vizoso1-0/+5
As drivers have been tested with more and more traces, the yml file is becoming a bit unwieldy. As more drivers are going to be tested with traces, and more traces will be used, split them in per-driver files so the size stays manageable. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Reviewed-By: Rohan Garg <rohan.garg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6185>
2020-08-18CI: Skip flaky CS test on VirGLDaniel Stone1-0/+1
We've seen this crash a few times over the past couple of weeks, but haven't yet managed to reproduce locally and fix. In the meantime, just skip. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6352>
2020-08-17drisw: Port the MIT-SHM check to XCBAdam Jackson1-1/+1
The old version isn't thread-safe, and xlib makes it unreasonably difficult to write thread-safely. Fixes: mesa/mesa#3398 Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6294>
2020-08-17vallium: initial import of the vulkan frontendDave Airlie1-0/+1
This is the initial import of the vallium frontend for gallium. This is only good enough to run the triangle and the gears demo (wrongly) from Sascha demos. Improvements are mostly on the llvmpipe side after this. It contains an implementation of the Vulkan API which is mapped onto the gallium API, and is suitable only for SOFTWARE drivers. Command buffers are recordred into malloced memory, then later they are played back against the gallium API. The command buffers are mostly just Vulkan API marshalling but in some places the information is processed before being put into the command buffer (renderpass stuff). Execution happens on a separate "graphics" thread, againt the gallium API. There is only a single queue which wraps a single gallium context. Resources are allocated via the new resource/memory APIs. Shaders are created via the context and bound/unbound in the second thread. (No HW for reasons - memory management, sw paths for lots of paths, pointless CPU side queue) v2: drop mesa_icd, drop cpp_args, drop extra flags, change meson config (Eric) v2.1: use meson-gallium job meson pieces: Reviewed-by: Eric Engestrom <eric@engestrom.ch> overall: Acked-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6082>
2020-08-12gitlab-ci: test Fossilize with GFX1030Samuel Pitoiset1-0/+3
To make sure we don't completely break ACO GFX1030 support. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6257>
2020-08-08meson: bump required glvnd versionEric Engestrom1-1/+1
https://github.com/KhronosGroup/EGL-Registry/pull/95 has moved a couple of extensions defines and functions to the upstream `eglext.h`, but when 9a74746bd1f3bd28d4c4 sync'ed these files we broke compilation of apps that require these symbols on systems that don't have the updated Khronos headers. On non-GLVND builds, we still provide these headers, so everything's fine, but on GLVND builds the Khronos headers are external so we need to make sure we have a libglvnd version that's recent enough. Fixes: 9a74746bd1f3bd28d4c4 ("EGL: sync headers with Khronos") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6069>
2020-08-05ci: Add a build test for the Android platformKristian H. Kristensen1-0/+24
This builds the EGL loader and the freedreno, intel and amd vulkan drivers. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
2020-08-05ci: Use a rootfs tarball for NFS root, instead of a ramdisk (for LAVA)Tomeu Vizoso1-2/+2
We anyway depend already on robust network support in the DUTs, and we can save quite some time this way. It will also allow us to grow further as we expand coverage. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-By: Rohan Garg <rohan.garg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6114>
2020-08-04ci: Remove kernel module build that slipped inTomeu Vizoso1-1/+1
Some changes unintendedly slipped into an unrelated commit before it was merged. This caused kernel modules to be built and installed in the ramdisk, which caused some devices to fail to boot due to the ramdisk size limit being surpassed. These changes weren't in effect until a subsequent commit triggered a rebuild of the ramdisks. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Fixes: a9560939e07a ("ci: Build-test Panfrost tools") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6167>
2020-08-04ci: Download traces from MinIO in baremetal runsTomeu Vizoso1-1/+1
Now that we have MinIO, we can distribute traces better than by direct downloads from git. With a caching MinIO instance local to the DUT, total run times should be noticeably impacted. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6136>