aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: install winehq-stable to get 5.0 instead of 4.0Andres Gomez2020-04-241-2/+3
| | | | | | | | | | | | | | | Additionally, purge the winehq-stable package and its dependencies to avoid crashing when building for s390x. v2: - Remove winehq-stable and dependencies for s390x. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2657 Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Daniel Stone <[email protected]> [v1] Reviewed-by: Michel Dänzer <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4678>
* gitlab-ci: Test Virgl with tracesTomeu Vizoso2020-04-241-0/+11
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Test OpenGL ES 3.1 on virglTomeu Vizoso2020-04-241-0/+11
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Update virglrenderer in the x86_test-gl imageTomeu Vizoso2020-04-241-1/+1
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Test virgl driverTomeu Vizoso2020-04-201-2/+28
| | | | | | | | | Add virglrenderer to the container and use the vtest transport to test the Gallium driver. On the "host", llvmpipe is used. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4433>
* Revert "CI: Disable Windows/VS2019 builds"Daniel Stone2020-04-161-3/+3
| | | | | | | | DNS is now fixed. This reverts commit 460b8b1758d953b2b820443615d73ccdb1455b5e. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4591>
* CI: Disable Windows/VS2019 buildsDaniel Stone2020-04-161-3/+3
| | | | | | | | | | An update seems to have poisoned gitlab-runner, and it can no longer resolve DNS even though the host system can. Disable this until we can figure out what's going on. Signed-off-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4589>
* gitlab-ci: Check the Mesa version used for tracie testsAlexandros Frantzis2020-04-141-1/+1
| | | | | | | | | | Verify that the Mesa version used when running tracie tests is the one that was built by CI, rather than any installed distro version. Signed-off-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Reviewed-by: Andres Gomez <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3894>
* gitlab-ci: Use all_paths in .test-manual rulesMichel Dänzer2020-04-131-8/+5
| | | | | | | | | Without this, the .test-manual jobs could end up as 'when: manual' when the jobs they depend on were 'when: never', which was flagged as invalid YAML, preventing the pipeline from being created. Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4522>
* gitlab-ci: Run merge request pipelines automatically only for Marge BotMichel Dänzer2020-04-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | MR pipelines not triggered by Marge Bot can still be triggered manually. Motivation: The main & forked Mesa project CI pipelines combined are currently generating over 1 TB of egress traffic per week. ~80% of this is from pre-merge pipelines. Assuming this corresponds to 4 pre-merge and one post-merge pipeline per MR on average, this change could potentially eliminate up to ~60% of the overall traffic (by preventing 3 of the 4 pre-merge pipelines from running automatically). (Of course, this could be subverted if all jobs of the other pipelines were triggered manually anyway... In most cases, manually triggering just a few jobs should suffice) v2: * $GITLAB_USER_NAME was the wrong variable, $GITLAB_USER_LOGIN should do the trick. Suggested-by: Marek Olšák <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>
* gitlab-ci: Don't require triggering build/test jobs manuallyMichel Dänzer2020-04-071-13/+24
| | | | | | | | | | Let them run automatically once all their dependencies have passed. Reviewed-by: Adam Jackson <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>
* gitlab-ci: Rename "paths" YAML anchor to "all_paths"Michel Dänzer2020-04-071-3/+3
| | | | | | | | | To avoid confusion with `paths:` elements. Reviewed-by: Adam Jackson <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>
* ci: Consistently use -j4 across x86 build jobs and -j8 on ARM.Eric Anholt2020-04-011-6/+6
| | | | | | | | | | | | | | | | | Our shared runners are set up for concurrent jobs ~= CPUs / 4 (x86) or 8 (ARM). If you use more build processes than that, then jobs may be fighting each other for shared system resources, possibly to the point of failure (we've seen one of the runners OOM on some jobs before, though I'm not sure if this was the cause). To try to systematically prevent the problem, we make a ninja wrapper in the containers that passes the -j flags, and set MAKEFLAGS in the container builds. This doesn't cover make in non-container builds, but I believe we don't have any of those. Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3782> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3782>
* CI: Re-enable Windows VS2019 buildsDaniel Stone2020-03-301-1/+2
| | | | | | | | | | | The failures are fixed, but I didn't notice this had been silently disabled in !4272. Re-enable the VS2019 build. Signed-off-by: Daniel Stone <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4374> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4374>
* gitlab-ci: Prune all SCons jobs except scons-win64, and allows failures.Jose Fonseca2020-03-301-17/+2
| | | | | | | | Based on the discussion in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4352 Reviewed-by: Daniel Stone <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4363> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4363>
* scons: Prune out unnecessary targets.Jose Fonseca2020-03-301-1/+1
| | | | | | | | | | | | | | | | This prunes out all targets except libgl-gdi, libgl-xlib, and svga, as suggested by Marek Olšák. libgl-xlib will be remove once I have had time to confirm no automated tests we have rely upon it. There are also a bunch of Makefile.sources which become orphaned as result, that are not taken care of in this change. v2: Prune remainders of swr support. Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348>
* CI: Avoid htz4 runner for VS2019Daniel Stone2020-03-301-0/+1
| | | | | | | | | | The htz4 runner needs to be updated in order for our support binaries like Chocolatey to work. Temporarily restrict jobs to the EC2 runner until this has happened. Signed-off-by: Daniel Stone <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4371> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4371>
* gitlab-ci: Update to current templatesMichel Dänzer2020-03-281-4/+4
| | | | | | | | | | | | | | | | | | | The .fdo.container-ifnot-exists template has been replaced by .fdo.container-build. We need to include "debian/" in FDO_REPO_SUFFIX for now, we can drop it for individual images when their tags are bumped if we want. Miscellaneous other goodies this gets us: * The templates now add some labels to images which may be useful for garbage collecting unused tags in the future. * The templates now copy the current tag from the main project registry to the forked project's if it already exists in the latter but points to a different image hash. This will avoid false failures (or passes) due to using the wrong image. Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4286> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4286>
* gitlab-ci: disable vs2019 buildRob Clark2020-03-271-1/+1
| | | | | | | | Seems to be broken atm and blocking merging anything. Signed-off-by: Rob Clark <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4272>
* gitlab-ci: add Wine, win64's apitrace and DXVK to the Vulkan testing containerAndres Gomez2020-03-271-1/+1
| | | | | | | | | | | | | | | | | | In preparation for having automated testing with DXGI traces. v2: - Updated DXVK version. - Merged the new Wine container into the existing Vulkan one (Michel). v3: - Updated commit log. - Use a particular known-good apitrace version (Alexandros). Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
* gitlab-ci: Don't use buster-backports packages by default for x86_test-vkAndres Gomez2020-03-271-1/+1
| | | | | | | | | | The backports repository can be temporarily inconsistent between architectures, which can break the docker image build. Suggested-by: Michel Dänzer <[email protected]> Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
* CI: Add native Windows VS2019 buildDaniel Stone2020-03-271-6/+43
| | | | | | | | | | | | | | | | | | | | | | | Adds a native build of Mesa using Meson with the Visual Studio 2019 toolchain on a Windows host. Though Docker is supported on Windows, Docker-in-Docker is not possible, nor are podman and skopeo available. We handle this by creating the container from a shell-executor Windows machine, which gives us a native PowerShell that we can execute Docker from. This attempts to do the same copy-from-upstream-or-create-if-not-exists optimisation as the ci-templates do for our Linux builds, albeit open-coded in PowerShell. The Mesa build itself is executed inside a container, using Meson and Ninja. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Acked-by: Jose Fonseca <[email protected]> Acked-by: Brian Paul <[email protected]> Acked-by: Eric Engestrom <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4304> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4304>
* gitlab-ci: Serve files for LAVA via separate serviceTomeu Vizoso2020-03-261-1/+1
| | | | | | | | | | | | | | | | | Currently, we store the kernel and ramdisk for each LAVA job in the artifacts of the job that built them. Because artifacts are stored in GCE and LAVA labs aren't, this causes a lot of egress with is expensive. To avoid this, have runners download most of the data via the (cached) container images once, and for each job upload the kernel and ramdisk to a server outside GCE. Right now we only have Collabora's runner with a local web server, so jobs that go to Baylibre's lab have been disabled. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4295>
* gitlab-ci: Place files from the Mesa repo into the build tarballTomeu Vizoso2020-03-261-13/+13
| | | | | | | | | | | | | | | | | | There's some files from the .gitlab-ci directory that are needed in the test stage and that, because the Mesa repository isn't checked out in that stage, need to be made available through other means. Because those files are going to be needed in LAVA devices, place them ino the tarball containing the built files so it's available to both gitlab-ci runners and LAVA devices. Before those files were passed in the artifacts of the Gitlab CI job, but this commit places them into the built tarball so scripts later in the pipeline don't need to account for this discrepancy. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4295>
* gitlab-ci: add python3-requests to the test-vk containerAndres Gomez2020-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | After 90a39af5f65 ("ci: Drop the git dependency in tracie"), we have this error in the radv-polaris10-traces job: " ... + /builds/tanty/mesa/artifacts/tracie/tests/test.sh tracie_succeeds_if_all_images_match: Fail Traceback (most recent call last): File "/tmp/tracie.test.glY0O23HJo/tracie.py", line 6, in <module> import requests ModuleNotFoundError: No module named 'requests' ... " v2: - Updated commit log to be more descriptive (Michel). Fixes: 90a39af5f65 ("ci: Drop the git dependency in tracie") Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4237> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4237>
* gitlab-ci: add a new stage for RADV CISamuel Pitoiset2020-03-231-3/+3
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4082>
* gitlab-ci: compile fossils with more ASICsSamuel Pitoiset2020-03-231-4/+17
| | | | | | | | I think we want to cover these 3 generations at the barely minimum. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4082>
* gitlab-ci: compile fossils with both RADV compiler backends (LLVM/ACO)Samuel Pitoiset2020-03-231-0/+3
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4082>
* ci: Move db820c and db410c's gles3 tests to manual, like radv did.Eric Anholt2020-03-201-17/+25
| | | | | | | | | | | | | This should make these tests available for clicking on the web ui in personal branches, while hiding them from marge and the post-merge CI pipelines. We had already disabled db410c's gles3, but it wasn't available in the ui and you had to hack .gitalb-ci.yml. db820c is now being disabled by default, due to instaboots mentioned in https://gitlab.freedesktop.org/mesa/mesa/issues/2649 Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4247> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4247>
* gitlab-ci: Restrict s390x/ppc64el jobs to packet runnersMichel Dänzer2020-03-201-0/+2
| | | | | | | | They are hitting timeouts on the gstreamer runners now... *sigh* Reviewed-by: Adam Jackson <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4233> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4233>
* ci: Only run the freedreno baremetal tests when freedreno/core changes.Eric Anholt2020-03-191-1/+1
| | | | | | | | | Same as we do for a630 (docker) tests. Reviewed-by: Michel Dänzer <[email protected]> Acked-by: Rob Clark <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4229> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4229>
* ci: Enable testing GLES2-3 on a530 (Dragonboard 820c).Eric Anholt2020-03-171-2/+22
| | | | | | | | | Following on from the db410c conversion to baremetal testing, reuse the same scripts in the same rack to run 7 db820c boards (#4/8 is failing in the bootloader for unknown reasons). Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4177>
* ci: Update the ci-templates commit.Eric Anholt2020-03-171-16/+16
| | | | | | | | There has been a big rename of variables in the upstream repo to make it clear what's being handed to ci-templates. Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4099>
* gitlab-ci: Enable more Gallium drivers in meson-i386 jobMichel Dänzer2020-03-171-1/+1
| | | | | | | | | These are the ones which can be enabled with the current x86_build docker image and which build without warnings. Reviewed-by: Eric Engestrom <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4166> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4166>
* gitlab-ci: Move classic driver testing to a new meson-classic jobMichel Dänzer2020-03-171-7/+15
| | | | | | | | | | | | The motivation is to allow llvmpipe to be enabled instead in the meson-i386 job. v2: (Eric Engestrom) * Rename meson-main job to meson-gallium * Remove stale comment above meson-i386 job Reviewed-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4166>
* gitlab-ci: Fold scons-swr job into scons jobMichel Dänzer2020-03-171-9/+2
| | | | | | | Should be fast enough. Acked-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4166>
* ci: Drop the git dependency in tracieRohan Garg2020-03-171-1/+1
| | | | | | | | | | | | | Instead of using git, use python and the Gitlab API to fetch traces. This helps us slim down our ramdisks in preparation for integrating trace replay on LAVA devices. Signed-off-by: Rohan Garg <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000>
* gitlab-ci: Update renderdocTomeu Vizoso2020-03-171-3/+3
| | | | | | | Get closer to upstream to avoid accumulating changes. Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4000>
* gitlab-ci: bump Vulkan CTS to 1.2.1.0Samuel Pitoiset2020-03-161-1/+1
| | | | | | | | | Vulkan CTS 1.1.6.0 is quite old. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4179> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4179>
* gitlab-ci: do not set the number of deqp-parallel jobs for RADV CTSSamuel Pitoiset2020-03-161-1/+0
| | | | | | | | Let's the runner uses the maximum number of jobs to speedup CTS. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4179>
* ci: Make a simple little bare-metal fastboot mode for db410c.Eric Anholt2020-03-111-4/+30
| | | | | | | | | | | | | | | | | This supports powering up the device (using an external tool you provide based on your particular lab), talking over serial to wait for the fastboot prompt, and then booting a fastboot image on a target device. I was previously relying on LAVA for this, but that ran afoul of corporate policies related to the AGPL. However, LAVA wasn't doing too much for us, given that gitlab already has a job scheduler and tagging and runners. We were spending a lot of engineering on making the two systems match up, when we can just have gitlab do it directly. Lightly-reviewed-by: Kristian H. Kristensen <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4076> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4076>
* gitlab-ci: build RADV in meson-i386 to avoid 32-bit build failuresSamuel Pitoiset2020-03-111-3/+8
| | | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4044> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4044>
* gitlab-ci: Don't restrict ppc64el/s390x build jobs to gstreamer runnersMichel Dänzer2020-03-111-2/+0
| | | | | | | | | The packet runners have beefier CPUs now and don't seem to run into test timeouts anymore. Reviewed-by: Daniel Stone <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4128> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4128>
* gitlab-ci: Remove unneeded python3-pilkit dependencyAndres Gomez2020-03-111-1/+1
| | | | | | | | It was added with tracie, but it doesn't depend on it. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
* gitlab-ci: add rules:changes for RADVSamuel Pitoiset2020-03-111-0/+1
| | | | | | | | | | Including mesa_core_file_list is probably not the best but it's better than nothing. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4117> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4117>
* gitlab-ci: rules:changes to test on tested drivers changesPierre-Eric Pelloux-Prayer2020-03-091-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now tests only use these drivers: * llvmpipe * softpipe * freedreno * lima * etnaviv * panfrost So using rules:changes gitlab feature to run the tests when the changes made are potentially affecting these drivers. A few notes: * the following code: .piglit-test: extends: - .test-gl - .llvmpipe-rules makes gitlab replace .test-gl "rules:changes" values by the one from ".llvmpipe-rules". * rules:changes always matches for non-MR new branches so jobs will always be created (and they'll be run if their dependencies are run). For pushes to existing branches the files changed by the push are used to match the rules:changes path. * the same gitlab feature could be used for some build jobs Acked-by: Eric Engestrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2569> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2569>
* gitlab-ci: Always name artifacts archive after the job producing itMichel Dänzer2020-03-071-2/+4
| | | | | | | | | | | | | This will help determine which artifacts generate how much traffic. v2: * Add "mesa_" prefix to make it obvious which project the artifacts are from. Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4085> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4085>
* gitlab-ci: add a job that runs Fossilize on RADV/Polaris10Samuel Pitoiset2020-03-051-2/+15
| | | | | | | | | | | | | | RADV_FORCE_FAMILY forces creating a null device that allows RADV to be instanced without AMDGPU. The Fossilize database only contains pipelines from the Sascha Vulkan triangle demos at the moment. I will add more once this is merged. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>
* gitlab-ci: enable building the test image for VK unconditionallySamuel Pitoiset2020-03-051-15/+2
| | | | | | | | | | | | | | It was diabled because RADV is the only driver that tests Vulkan and running CTS on my personal machine and without recovery is not safe enough for CI (too long and too unstable). Now that we are going to test Fossilize with RADV, it's needed to build the test image for VK unconditionally. As RADV now supports creating NULL devices, the fossilize jobs can run everywhere. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>
* gitlab-ci: add Fossilize support to detect compiler regressionsSamuel Pitoiset2020-03-051-0/+5
| | | | | | | | | Fossilize is equivalent to vkpipeline-db but it's definitely more robust. This is based on the CI traces system. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>