summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci: Use Fedora 38 as the baseJordan Petridis2023-03-201-1/+1
|
* ci: Make reports for all setupsMatthias Clasen2023-03-191-0/+4
|
* testsuite: Improve setup name consistencyMatthias Clasen2023-03-191-1/+1
| | | | Rename the 'waylandgles' test setup to 'wayland_gles'.
* ci: Run tests with small texturesMatthias Clasen2023-03-191-0/+1
|
* ci: Update imageEmmanuele Bassi2023-02-171-1/+1
| | | | | Refresh the Fedora base (still at 37), and add the Python packaging module for gi-docgen.
* ci: Add a simple auto-retry policyJordan Petridis2023-02-151-0/+7
|
* ci: Build and publish aarch64 flatpaksJordan Petridis2023-02-151-0/+48
| | | | Close GNOME/gtk#5594
* ci: Switch from only/except to rules: keywordJordan Petridis2023-02-151-70/+32
| | | | It's more flexible and allows us to combine the flatpak jobs
* CI: Don't run style-check-diff by default Benjamin Otte2023-02-141-1/+1
| | | | | We don't use it most of the time and it's also confusing to new contributors who think it's important to fix it. Keep it for manual runs, so that interested people can just click a button to see the results. It also makes it easy to turn back on later.
* ci: Stop running the asan build every timeMatthias Clasen2023-02-021-0/+1
| | | | | | It fails because of address sanitizer crashes, and takes a long time. It is not that useful in this shape.
* Merge branch 'faster-ci' into 'main'Matthias Clasen2023-01-131-1/+9
|\ | | | | | | | | Add a build-testsuite option See merge request GNOME/gtk!5419
| * ci: Try to speed up builds a bitMatthias Clasen2023-01-131-1/+9
| | | | | | | | | | Don't build demos and tests, and only build the testsuite where we want to run it.
* | CI: turn on -Werror for MacOS buildBenjamin Otte2023-01-121-1/+1
|/ | | | | | | The build is error-free and we want to keep it that way. We'd also like to make Timm do real work instead of having to fix clang warnings all the time and this build is a clang build.
* ci: Disable -Werror on all subprojectsBenjamin Otte2023-01-061-1/+1
| | | | Would be nice if meson had a nicer way of doing this, but...
* ci: Enable introspection for the docs buildMatthias Clasen2023-01-021-5/+19
| | | | It is required, so lets not rely on defaults.
* ci: Disable f16c for asanMatthias Clasen2022-12-201-3/+3
| | | | It appears that f16c crashes asan instantly.
* ci: Mark macos build as allow-failMatthias Clasen2022-12-191-0/+2
| | | | | It fails too often, and it never does us any good.
* ci: Don't cache subprojectsEmmanuele Bassi2022-12-201-5/+0
| | | | We're downloading them anyway.
* ci: Remove installed-tests jobEmmanuele Bassi2022-12-201-34/+0
| | | | | | | Installed tests require access to the system prefix, and thus a system-wide installation of Meson, which we don't have. We're going to restore this job at a later date.
* ci: Update the Fedora imageEmmanuele Bassi2022-12-201-1/+1
|
* ci: Always update subprojects to latest revisionNirbheek Chauhan2022-12-191-0/+4
| | | | | Otherwise we're not actually updating anything. `meson subprojects download` will skip subprojects that already exist.
* ci: Fix fedora-mingw64 jobNirbheek Chauhan2022-12-191-3/+14
|
* ci: Install tests in a separate prefixEmmanuele Bassi2022-12-141-3/+11
| | | | | Avoid using `sudo` in the installed-tests CI job, since we're installing Meson as the current user.
* ci: Redefine PATHEmmanuele Bassi2022-12-141-2/+13
|
* ci: Consistently use meson subcommandsEmmanuele Bassi2022-12-141-13/+12
| | | | | | | | | | | | meson setup: configuration meson compile: compilation meson install installation Do not use ninja directly, and do not use `meson` as a synonym for `meson setup`.
* ci: Install Meson in the build jobsEmmanuele Bassi2022-12-141-1/+8
| | | | | We use the latest 0.64 even if we depend on 0.60 because of fixes in the subproject command.
* ci: Download the subprojectsEmmanuele Bassi2022-11-261-4/+4
| | | | | Updating the subprojects will apparently fail if they haven't been downloaded.
* ci: Update the gi-docgen dependenciesEmmanuele Bassi2022-11-251-1/+1
| | | | | | | | The python3-toml package is deprecated, and replaced by python3-tomli. At least, until we bump up the dependency to Fedora 37: then we can depend on Python 3.11, and its TOML parser in the standard library. See also: https://gitlab.gnome.org/GNOME/gi-docgen/-/merge_requests/168
* testsuite: Use separate setups for unstable tests instead of should_failSimon McVittie2022-11-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two possible interpretations of "expected failure": either the test *must* fail (exactly the inverse of an ordinary test, with success becoming failure and failure becoming success), or the test *may* fail (with success intended, but failure possible in some environments). Autotools had the second interpretation, which seems more useful in practice, but Meson has the first. Instead of using should_fail, we can put the tests in one of two new suites: "flaky" is intended for tests that succeed or fail unpredictably according to the test environment or chance, while "failing" is for tests that ought to succeed but currently never do as a result of a bug or missing functionality. With a sufficiently new version of Meson, the flaky and failing tests are not run by default, but can be requested by running a setup that does not exclude them, with a command like: meson test --setup=x11_unstable --suite=flaky --suite=failing As a bonus, now that we're setting up setups and their excluded suites programmatically, the gsk-compare-broadway tests are also excluded by default when running the test setup for a non-broadway backend. When running the tests in CI, --suite=gtk overrides the default exclude_suites, so we have to specify --no-suite=flaky and --no-suite=failing explicitly. This arrangement is inspired by GNOME/glib!2987, which was contributed by Marco Trevisan. Signed-off-by: Simon McVittie <smcv@debian.org>
* ci: Require macos to build againMatthias Clasen2022-10-281-1/+0
|
* ci: Try to fix the macos buildMatthias Clasen2022-10-281-0/+1
| | | | | | It seems that libjpeg-turbo first finds nasm, and then doesn't find it. Turn off simd to keep it from looking for it in the first place.
* ci: Allow macos builds to failMatthias Clasen2022-10-111-0/+1
| | | | | The runner seems busted, so allow builds to fail for now.
* ci: Move style check to its own stageEmmanuele Bassi2022-09-101-1/+2
| | | | Drop the `.pre` phase.
* ci: add fedora-mingw64 jobMarc-André Lureau2022-08-181-0/+23
| | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* ci: Disable -Werror on wayland submoduleCarlos Garnacho2022-08-101-1/+1
| | | | | | | | | CI is mostly interested in GTK not introducing compiler warnings, other submodules like Wayland might have their own and that shouldn't hinder CI testing of GTK. Disable -Werror for the wayland submodule, and let it be fixed independently at some point.
* Merge branch 'alatiera/node-flatpak' into 'main'Matthias Clasen2022-07-281-0/+17
|\ | | | | | | | | flatpak: add a NodeEditor demo See merge request GNOME/gtk!4898
| * flatpak: add a NodeEditor demoJordan Petridis2022-07-251-0/+17
| |
* | Update (or drop) the Docker image used by Flatpak jobbarthalion/gnome-runtime-images-quayBartłomiej Piotrowski2022-07-271-1/+1
|/ | | | | | The gnome-runtime-images have been recently migrated to Quay. This is already reflected in the template. Please note this MR has been created semi-automatically. If it doesn't make sense, feel free to close it.
* ci: Force the fedora image for the publish-docs jobEmmanuele Bassi2022-06-281-0/+1
| | | | | Otherwise every CI runner might decide to use a different default image, and we'll end up on one that doesn't have curl.
* CI: bump meson version from 0.59 to 0.60.3Christoph Reiter2022-05-221-1/+1
| | | | | | | | We pull in glib main via a submodule in CI and glib has recently bumped its meson requirement to >= 0.60: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2641 Install 0.60.3 where needed to make things build again.
* CI: Include reftest nodes in artifactsBenjamin Otte2022-05-181-0/+1
|
* ci: Update the Fedora image to Fedora 36Matthias Clasen2022-05-141-1/+1
| | | | | | | Also remove systemtap from the image, since we don't need it. The v36 image is still used in gtk-4-6.
* ci: Only use letters in "expose_as"Guido Günther2022-01-191-1/+1
|
* ci: Put gtk dll into an archiveGuido Günther2022-01-191-1/+1
| | | | This avoids the wild card that makes the CI fail
* Merge branch 'provide-libgtk-dll-as-ci-artifact' into 'main'Luca Bacci2022-01-191-0/+5
|\ | | | | | | | | Provide GTK DLL as GitLab CI artifact See merge request GNOME/gtk!4395
| * Provide GTK DLL as GitLab CI artifactLuca Bacci2022-01-191-0/+5
| |
* | wayland/surface: Use wl_surface_offset() instead of x,y of attach()Jonas Ådahl2022-01-141-2/+2
|/ | | | | | | | | | | | | | This makes the hotspot of DND surfaces work when using the Vulkan and OpenGL renderers. This bumps the CI image used to the newly built image. This is needed to install a new enough libwayland-client.so needed for wl_surface.offset. This is done by adding wayland as a meson subproject, building it on-demand if the version in the system is not new enough. As libwayland-client.so is pulled in implicitly when linking to gtk4, the compile step needs LD_LIBRARY_PATH set to make ld find the right library to link to.
* ci: Use meson 0.59 on macosMatthias Clasen2021-12-101-1/+1
|
* Update references to master in the repositoryMatthias Clasen2021-11-291-16/+16
|
* Revert "ci: Allow macos to fail"Matthias Clasen2021-11-011-1/+0
| | | | | | This reverts commit b7cab5c5ebd50e8102938ea87cedc48670837f4b. We welcome the macos runner back.