summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2021-08-06ci: Install libxcvt from gitOlivier Fourdan1-1/+1
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2021-06-11ci: Fix UPSTREAM_REPO -> FDO_UPSTREAM_REPOMichel Dänzer1-1/+1
The latter is what ci-templates expect. Fixes: ab73c16930d6 "ci: Update to the latest templates" Reviewed-by: Simon Ser <contact@emersion.fr>
2021-05-30.gitlab-ci: Install xorgproto 2021.4.99.2 from gitPovilas Kanapickas1-1/+1
This is required for the support of upcoming XI 2.4 protocol. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-04-24CI: Add an x86 MinGW-w64 cross buildJon Turney1-1/+7
Only cross-build for x86 MinGW-w64, as x64 MinGW-w64 will probably require fixing LLP64 issues. I don't know any source for pre-built cross-dependencies of the X server, so build these from git. Don't build with GLX enabled, so I don't have to deal with cross-building mesa and it's dependencies, for the moment.
2021-01-22ci: Test ninja dist in meson jobsMichel Dänzer1-6/+3
While this isn't critical yet, it might become so at some point, so let's make sure it keeps working. Don't set the PIGLIT/XTEST_DIR variables for ninja dist, testing XTS once against each DDX is enough (as part of ninja test). Requires git in the docker image. v2: * Drop /usr/local/bin/xkbcomp symlink, no longer needed with xkbcomp 1.4.1 (Peter Hutterer)
2021-01-22ci: Build xkbcomp 1.4.1 for the docker imageMichel Dänzer1-1/+1
This is a requirement for testing meson dist in CI.
2020-11-17ci: Base docker image on Debian buster instead of testingMichel Dänzer1-2/+2
By its nature, testing incurs a risk of breaking something every time we bump the image. This requires building wayland-protocols locally, since the package in buster is too old for current Xwayland. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17ci: Update to the latest templatesMichel Dänzer1-17/+10
They now ensure the image is up to date in forked projects, and we no longer need to reconstruct the image name. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17ci: Set GIT_STRATEGY=none for the container build jobMichel Dänzer1-0/+2
It doesn't need a full checkout of the xserver Git tree, so this can save some time and resources. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-12ci: Use $FDO_CI_CONCURRENT if setMichel Dänzer1-5/+5
To take advantage of more than 4 CPU cores available to the container. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-05-20gitlab CI: use the fdo ci-templates repositoryPeter Hutterer1-1/+1
wayland/ci-templates was moved to freedesktop/ci-templates, everything else stayed the same so the sha is still valid. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Michel Dänzer <mdaenzer@redhat.com>
2020-05-01gitlab-ci: Bump DEBIAN_TAG to build with gcc 9.3.0Alexander Volkov1-1/+1
2020-02-11gitlab-ci: Add meson build job with glamor disabledMichel Dänzer1-1/+7
To prevent breakage with glamor disabled from creeping in again. Reviewed-by: Adam Jackson <ajax@redhat.com>
2020-02-11gitlab-ci: Drop "-build-and-test" job name suffixMichel Dänzer1-2/+2
It's long and kind of redundant. Reviewed-by: Adam Jackson <ajax@redhat.com>
2020-02-09Always use `-fno-common` in CIDavid Seifert1-2/+2
* This prevents issues from creeping back in at a later stage.
2020-01-28gitlab-ci: Enable -Werror in the meson build jobMichel Dänzer1-1/+1
There are no warnings left, so let's prevent new ones from creeping back in.
2020-01-06gitlab-ci: Use -j4 instead of -j$(proc)Michel Dänzer1-5/+5
The shared GitLab CI runners are configured for jobs making use of up to 4 CPU cores, attempting to use more may overload them. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2020-01-06gitlab-ci: Use host-mapped directory for ccacheMichel Dänzer1-7/+3
Same as done in Mesa. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2019-12-23gitlab-ci: Mark jobs as interruptibleMichel Dänzer1-1/+3
Allowing redundant pipelines to be automatically cancelled.
2019-12-23gitlab-ci: Turn .retry YAML anchor into .ci-run-policy templateMichel Dänzer1-4/+5
To match Mesa.
2019-12-12gitlab CI: update to the latest version of the ci-templatesPeter Hutterer1-1/+1
Primarily to fix the skopeo copy issue that causes pipelines to fail right now, see ci-templates commit 0a9bdd33a98f05af67. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-10-04gitlab-ci: Add a manpage substitutions regression testSven Joachim1-0/+3
This catches the broken manpages in the autoconf build which appeared after commit 2e497bf887ac ("man: s/__/@/g") and were only partly rectified by commit 0445705a8bbf ("man: Fix automake seddery"). Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2019-09-05ci: bump DEBIAN_TAGSimon Ser1-1/+1
The previous commit requires wayland-protocols 1.18. Bump DEBIAN_TAG to re-generate the Debian image and get the wayland-protocols update. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2019-04-01gitlab-ci: Retry jobs after runner system failuresMichel Dänzer1-0/+9
Up to twice, for a total of 3 attempts maximum. This will hopefully avoid spurious CI pipeline failures due to intermittent GitLab/docker infrastructure issues. Inspired by https://gitlab.freedesktop.org/mesa/mesa/commit/6140ed3d2c5409bcdb5c0879411690ef222b086c Reviewed-by: Eric Anholt <eric@anholt.net>
2019-04-01gitlab-ci: Simplify autotools job scriptMichel Dänzer1-8/+1
Drop the verbose test log output, matching the meson job script. Reviewed-by: Eric Anholt <eric@anholt.net>
2019-04-01gitlab-ci: Simplify meson job scriptMichel Dänzer1-3/+2
This way, the second ninja command line will be visible again as well in the job output. Reviewed-by: Eric Anholt <eric@anholt.net>
2019-03-28gitlab-ci: Build and test glamor using Xephyr.Eric Anholt1-1/+1
I keep wanting this when reviewing people's glamor patches. Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-28gitlab-ci: Install Mesa so we can test glamor.Eric Anholt1-1/+1
We need the DRI swrast driver (for GLX in vfb), and also libgl (for libepoxy in glamor) Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-27docker: Stop dumping long-summary and meson test logs in the CI logs.Eric Anholt1-6/+0
I've found that it's hard to find the original error in a dump full of xserver debug spam for the passing cases, and when I needed to look at this I end up using a proper editor on the file from the artifacts view anyway. Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-27gitlab-ci: Add a note about where to manage your containers.Eric Anholt1-1/+2
Michel noted that I could do this instead of bumping the tag as I developed, so leave that note for the next person. Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-27CI: use wayland-ci-templates to manage the imagesBenjamin Tissoires1-29/+14
There shouldn't be a difference for users, but this way we do manage all of our containers from freedesktop.org Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2019-02-27Revert "gitlab-ci: Only run docker-image stage if relevant source files change"Michel Dänzer1-4/+0
This reverts commit 8694395fcfd407190db74f31064960e484747377. Some scenarios have come to light where this failed to ensure the docker image exists: * If the master branch of a forked repository is used for an MR which doesn't modify .gitlab-ci.yml, the docker-image job may not run. * If the docker-image job of the first pipeline in a forked repository is cancelled or fails for any reason, and .gitlab-ci.yml isn't modified for the next pipeline run.
2019-02-22gitlab-ci: Run make distcheck in autotools build & test jobMichel Dänzer1-4/+6
We don't set the PIGLIT_DIR and XTS_DIR environment variables for make distcheck for now, otherwise it complains about files left behind by piglit.
2019-02-20gitlab-ci: Add autotools build & test jobMichel Dänzer1-3/+22
2019-02-20gitlab-ci: Use ccacheMichel Dänzer1-0/+11
Meson picks it up automatically. Based on: * https://gitlab.freedesktop.org/mesa/mesa/merge_requests/240 * https://gould.cx/ted/blog/2017/06/10/ccache-for-Gitlab-CI/ * https://stackoverflow.com/questions/53659419/ccache-no-hits-in-gitlab-ci v2 based on the corresponding Mesa change: * Quote CCACHE_(BASE)DIR environment variables. * Clear ccache stats in before_script. * Move cache stanza to the build-and-test job, the cache isn't used in the docker-image job. Reviewed-by: Adam Jackson <ajax@redhat.com> # v1
2019-02-19gitlab-ci: Add ccache to docker image, and leave in autotoolsMichel Dänzer1-1/+1
We're going to make use of these in build & test jobs.
2019-02-13gitlab-ci: Don't rely on $CI_PROJECT_NAMEMichel Dänzer1-1/+1
The name of a forked repository can be changed later, in which case this would fail to refer to the main repository. Pointed out by Eric Engestrom in https://gitlab.freedesktop.org/mesa/mesa/merge_requests/224 .
2019-02-13gitlab-ci: Only run docker-image stage if relevant source files changeMichel Dänzer1-0/+4
Otherwise there's normally no need to run it. It will also run when a new branch is created, which ensures that the docker image always exists (e.g. in a newly forked repository). Inspired by https://gitlab.freedesktop.org/mesa/mesa/merge_requests/143
2018-12-17gitlab-ci: Set LC_ALL=C.UTF-8Michel Dänzer1-0/+1
Although piglit could now handle non-ASCII characters in the environment, meson was still failing without this (even though it's using Python 3). Reviewed-by: Eric Anholt <eric@anholt.net>
2018-12-17gitlab-ci: Docker image can be generated as part of pipelineMichel Dänzer1-8/+52
This removes the dependency on an externally generated docker image, and should make it easier to update the docker image or make other changes related to it. This is based on Debian testing, because I'm most familiar with Debian. But it should be easy to base it on another distro. v2: * Use kaniko instead of docker-in-docker for image generation, so it can also work in unprivileged runners. * Drop piglit.conf & tetexec.cfg overrides, just make sure the files in the image work.
2018-12-17Drop Travis Linux build in favour of GitLab CIMichel Dänzer1-1/+19
Fold build-travis-deps.sh into .gitlab-ci.yml. Preparation for the next change, which would break the Travis Linux build. Reviewed-by: Eric Anholt <eric@anholt.net>
2018-12-12Make artifacts of piglit results if job failsMichel Daenzer1-0/+4
Can be useful for figuring out what caused the failure.
2018-09-12gitlab: Skip the docker-in-docker stepAdam Jackson1-10/+2
No idea which cult's cargo I was looking at there. Cuts about a minute off the build time. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-05-02gitlab-ci: Add for gitlab.freedesktop.orgAdam Jackson1-0/+13
Looks quite a bit like the travis path, doesn't it? Still, nice to not rely on an external service if we don't have to. Signed-off-by: Adam Jackson <ajax@redhat.com>