summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci.yml: Add check for issue or MR URLJonas Ådahl2019-02-141-0/+14
| | | | | | | | | | | This adds a pipeline stage for merge requests that checks that the commit message contains an URL to either a issue or a merge request. This means that for merge requests without corresponding issues will always fail initially, as the merge request URL is not known until after it is created. This is still arguably better than accidentally merging merge requests without URLs. https://gitlab.gnome.org/GNOME/mutter/merge_requests/440
* gitlab-ci: Don't upload test artifactsMarco Trevisan (Treviño)2019-02-111-3/+0
| | | | | | | There's no need to upload test artifacts since they don't produce anything that we care about so far, while this phase slows down the pipeline execution. https://gitlab.gnome.org/GNOME/mutter/merge_requests/436
* gitlab-ci: Define exported global variables onceMarco Trevisan (Treviño)2019-01-301-4/+5
| | | | | | | Don't redefine XDG runtime and gsettings schema paths multiple times, just export the variables once and reuse them. https://gitlab.gnome.org/GNOME/mutter/merge_requests/408
* gitlab-ci: Use runtime dir owned only by current userMarco Trevisan (Treviño)2019-01-301-1/+2
| | | | https://gitlab.gnome.org/GNOME/mutter/merge_requests/408
* gitlab-ci: Use artifacts to keep built data and reuse in testMarco Trevisan (Treviño)2019-01-301-3/+14
| | | | | | | Make test to be dependent on build phase, saving artifacts for some time in order to just run the tests without performing any rebuild. https://gitlab.gnome.org/GNOME/mutter/merge_requests/408
* gitlab-ci.yml: Change build step build type to debugoptimizedJonas Ådahl2019-01-231-1/+1
| | | | We will catch -Wmaybe-uninitialized errors this way.
* gitlab-ci.yml: Treat warnings as errorsJonas Ådahl2019-01-221-1/+1
| | | | This'll allow us to catch them before they land.
* gitlab-ci.yml: Increase test timeout multiplier furtherJonas Ådahl2018-11-221-1/+1
| | | | Twice the time was not enough, so pass -t 10 instead.
* gitlab-ci.yml: Stop creating meson-logs artifactJonas Ådahl2018-11-221-4/+0
| | | | | The logs were useless, as the complete test suite log was printed to stdout.
* gitlab-ci.yml: Allow for tests taking longer timeJonas Ådahl2018-11-221-1/+1
| | | | | Test runners might be slow, so use the test time multiplier 2 to avoid unnecessary pipeline failures.
* gitlab-ci.yml: Wrap tests with catchsegvJonas Ådahl2018-11-221-2/+2
| | | | | To be able to see why tests failed, if they crashed due to a SIGSEGV, wrap the execution with catchsegv.
* gitlab-ci: Add test stageJonas Ådahl2018-11-141-0/+13
| | | | | | | | | | | | The test stage runs the whole meson test suite inside Xvfb inside a dbus session. Running inside Xvfb is required as the cogl, clutter and mutter tests require to run on top of X11; the dbus session is required to make mutter succeed in owning names on the bus. This also updates the Dockerfile to include packages needed for running tests. https://gitlab.gnome.org/GNOME/mutter/issues/193
* Add .gitlab-ci.yml for build testingJonas Ådahl2018-11-071-0/+11
This adds compilation testing using meson on the gitlab instance. It uses a prebuild image built, described in .gitlab-ci/Dockerfile, based on Fedora 29. The image is build and published by running: cd .gitlab-ci/ docker build -t registry.gitlab.gnome.org/gnome/mutter/master:v1 . docker push registry.gitlab.gnome.org/gnome/mutter/master:v1 Resolves: https://gitlab.gnome.org/GNOME/mutter/merge_requests/132