summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci: Update to new FDO templateBenjamin Berg2020-12-111-4/+2
|
* ci: Correctly update the submodules on build.Robert Ancell2020-10-031-0/+1
|
* ci: remove deprecated jobsJordan Petridis2020-08-021-49/+0
| | | | | | | The functionality of these jobs exists in the normal build job now and they are no longer needed. citemplates@544836ee
* ci: Run ASAN on privileged runnerBenjamin Berg2020-05-111-0/+2
| | | | It needs to be able to attach to processes.
* ci: Specify full registry path for forksBenjamin Berg2020-05-071-7/+2
| | | | | Otherwise forks will try to find the image in their own registry which cannot work.
* ci: Switch to use the FDO CI templatesBenjamin Berg2020-05-071-117/+85
| | | | | | | | | This effectively means we do not build on non-x86_64. But the template gives us a well maintained base. Also added into the image is gsettings-desktop-schemas from git, so that the scheduled job only needs to be manually run when an update is needed.
* ci: Move ASAN to manual stageGeorges Basile Stavracas Neto2020-02-201-2/+2
| | | | | | | | ASAN hasn't been useful so far; we don't really see meaningful results from it, it takes a long time to run since it builds Settings twice, etc. Move it to manual.
* ci: Fix build of docker imagesBenjamin Berg2019-12-031-3/+9
| | | | | | | | | | | Building the docker images has been failing for a while now. The root cause appears to be a docker upgrade causing issues with TLS. See https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/ Update the configuration so that the images can be built again. Thanks to Bartłomiej Piotrowski for debugging the issue and solving it for gnome-settings-daemon!
* flatpak: Use the Nightly variant of the application iconFelipe Borges2019-10-141-1/+1
| | | | | | For the "development" profile, lets use the Nightly variant, to visually indicate to users that they are running an unstable version of the application.
* ci: Fix tests with tagsGeorges Basile Stavracas Neto2019-03-111-5/+1
| | | | | We need to run the tests, and when on tags, run 'ninja dist'. Just that.
* ci: Run tests with mesonGeorges Basile Stavracas Neto2019-03-111-1/+1
| | | | | So that we can run a more complete version of the tests.
* ci: Don't install libudisks2Georges Basile Stavracas Neto2019-03-111-5/+0
| | | | [skip ci]
* ci: Use fedora:latest for Ppc64leGeorges Basile Stavracas Neto2019-03-111-1/+1
| | | | [skip ci]
* ci: Use the new Fedora 30 DockerfilesGeorges Basile Stavracas Neto2019-03-111-3/+3
| | | | [skip ci]
* ci: Rebuild docker images any time a commit touches the dockerfileIain Lane2019-03-041-7/+18
| | | | | | | | | | | | Currently they are built from cron, but we can use Gitlab's only: changes: - path support to also trigger on path changes. This is restricted to only work for pushes for master, so that branches / merge requests don't attempt to rebuild the image.
* ci: Install udisks2 for the coverage testsIain Lane2019-03-041-0/+1
| | | | This is needed to build g-c-c for the test, until the image is updated.
* info: use UDisks to retrieve disk sizeGeorges Basile Stavracas Neto2019-02-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The current code relies on GLib API and uses the available mounts to calculate the available partition size. This is because this code assumes that more than one OS can be installed in the same drive, and wouldn't make sense to show the whole disk size in this situation. That, however, clashes with the general purpose of the panel, for it is meant to show general information about the user's computer, and it is not reporting the full disk size. Fix that by using the UDisks API to get the real size of the full disks. https://bugzilla.gnome.org/show_bug.cgi?id=639376 Slighly modified by Iain Lane <iainl@gnome.org> to port to meson and add udisks2 to CI deps. Fixes #285. Fixes #302.
* Add GSound as a build-dependecyRobert Ancell2019-02-061-0/+3
|
* ci: Prevent stop_review from running on image buildsGeorges Basile Stavracas Neto2018-12-111-0/+3
| | | | [skip ci]
* ci: Document review stageGeorges Basile Stavracas Neto2018-12-111-0/+14
| | | | [skip-ci]
* ci: Expire flatpak bundle in 7 daysGeorges Basile Stavracas Neto2018-11-271-1/+1
| | | | | | 2 days it too short of a time range. [skip ci]
* ci: Rename icons when building flatpakGeorges Basile Stavracas Neto2018-11-271-0/+5
| | | | They need to match the app id.
* ci: Fix typo in variable valueGeorges Basile Stavracas Neto2018-11-181-5/+5
|
* ci: Point to new images againGeorges Basile Stavracas Neto2018-11-181-3/+3
| | | | This reverts commit 8f29cd019de5dcd15fd45bcf5f340b5b6c17fa49.
* Revert "ci: Point to new images"Georges Basile Stavracas Neto2018-11-181-3/+3
| | | | | | | | This reverts commit f7cb1e16cd1a983fe5d1cf1e6cd4428160ff74d7. Temporarily use the old images, to build the new ones correctly. [skip ci]
* ci: Point to new imagesGeorges Basile Stavracas Neto2018-11-181-3/+3
|
* ci: Don't build when running the weekly imageGeorges Basile Stavracas Neto2018-11-181-0/+8
|
* ci: Properly quote regex stringGeorges Basile Stavracas Neto2018-11-181-1/+1
|
* ci: Simplify condition to now build imagesGeorges Basile Stavracas Neto2018-11-181-1/+1
| | | | [skip ci]
* Revert "ci: Build Docker images when Dockerfile changes"Georges Basile Stavracas Neto2018-11-181-2/+2
| | | | This reverts commit 1d4d9953230d727b4d6448ac4422e9d8b518ea7f.
* ci: Build Docker images when Dockerfile changesGeorges Basile Stavracas Neto2018-11-181-2/+2
|
* ci: Make armv8 and ppc64le manual jobsGeorges Basile Stavracas Neto2018-09-101-2/+4
| | | | | | | They consume too much CI resources and take a long time to run, which slows down the review and merge process. Make them manual from now on.
* CI: Replace placeholder valueJordan Petridis2018-08-151-2/+2
| | | | We don't want to run the review jobs for the master branch. Since no MRs will ever originate from it.
* CI: Improve the flatpak review environmentsJordan Petridis2018-08-141-1/+35
| | | | | For more: https://gitlab.gnome.org/GNOME/Initiatives/wikis/DevOps-with-Flatpak#flatpak-bundle-for-every-mr-and-commit
* CI: Use updated image for the flatpak jobJordan Petridis2018-08-141-1/+1
| | | | | | | | | gnome-nightly-oci repo has been deprecated for a while and replaced with gnome-runtime-images[1] The new repo also includes images with the stable GNOME runtime. Which can be used by changing `gnome:master` to `gnome:3.28` for example. [1] https://gitlab.gnome.org/GNOME/gnome-runtime-images
* CI: do not run 'pages' if not testingClaudio André2018-08-061-0/+5
| | | | The job "pages" should only run on regular test CI executions.
* CI: skip tests on translation commitsClaudio André2018-08-011-0/+16
|
* CI: build flatpak using the "official" Docker imageClaudio André2018-07-171-1/+1
| | | | [skip ci]
* CI: refactor the yaml recipeClaudio André2018-07-161-55/+33
| | | | | | - create a stage named manual; - use deploy as a stage name (as GitLab does); - use "shared code".
* CI: run coverage only on masterClaudio André2018-07-161-0/+2
| | | | | To save resources. It is unlikely that anyone would want this information from a branch. If necessary, we must create a manual job.
* CI: allow PPC job to failClaudio André2018-07-161-0/+1
| | | | It fails on progress.gnome.org but passes on scallable runners.
* ci: Automatically run ARMv8 and PPC64 jobsGeorges Basile Stavracas Neto2018-07-151-2/+0
| | | | | They are all passing tests now, since 4f8a64ac2, which means we can run them on every commit too.
* CI: build and save Docker images in GNOME GitLabClaudio André2018-07-141-0/+64
|
* CI: add ARMV8 and PPC64LE build testsClaudio André2018-07-151-0/+39
|
* CI: add MSAN, TSAN and UBSAN SanitizersClaudio André2018-07-111-0/+37
| | | | | | | | | | | | | | | | | | | MemorySanitizer (MSan) is a detector of uninitialized memory reads in C/C++ programs. Uninitialized values occur when stack- or heap-allocated memory is read before it is written. ThreadSanitizer is a tool that detects data races. UndefinedBehaviorSanitizer (UBSan) is a fast undefined behavior detector. UBSan catches various kinds of undefined behavior, for example: - Using misaligned or null pointer - Signed integer overflow - Conversion to, from, or between floating-point types which would overflow the destination The llvm.org states that Sanitizers have found thousands of bugs everywhere. Sanitizers running during CI can prevent bugs from taking up residence. They are helper tools to maintain bugs out.
* CI: use a previous Docker imageClaudio André2018-07-101-1/+1
| | | | | Fedora itself was/is unstable since some days ago. See https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/109#note_263396.
* CI: add ASAN Address SanitizerClaudio André2018-06-211-0/+21
| | | | | | | | | | AddressSanitizer (or ASan) is a programming tool that detects memory corruption bugs such as buffer overflows or use after free. AddressSanitizer is based on compiler instrumentation. The llvm.org states that Sanitizers have found thousands of bugs everywhere. Sanitizers running during CI can prevent bugs from taking up residence. They are helper tools to maintain bugs out.
* CI: refactor the build processClaudio André2018-06-211-9/+9
| | | | In order to shrink the file and reuse "code".
* CI: add coverage parsing to the jobClaudio André2018-06-211-0/+7
| | | | | | | It works only if enabled via CI/CD Settings. More info available at https://docs.gitlab.com/ee/user/project/pipelines/settings.html#test-coverage-parsing. The parsing regex was tested on my GitLab forked project.
* CI: avoid rebuilding in the test jobClaudio André2018-06-211-1/+4
| | | | | | | | | | The test job was recompiling the software (unexpected behavior). This was happening because the git checkout runs after the artifacts download (resulting in the source code being newer than the object files). This commits saves and reuses the working directory produced by the build job.