summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci: Use the same options for the scan-build jobMatthias Clasen2023-05-111-0/+2
| | | | | In particular, not building the tests should help cutting down on time spent linking.
* Drop the duplicate x11 testsuite runMatthias Clasen2023-05-111-1/+0
| | | | | | We currently run the testsuite against x11 in both the debug and release builds. Once ought to be enough.
* ci: Balance the work between jobsMatthias Clasen2023-05-111-5/+5
| | | | | | | | | | The fedora-x86-64 build does not only build with debug, it also does the hello build, and it runs the testsuite multiple times. Move the hello build to the fedora release build. The idea is that this lets us do more work in parallel, and spend less time waiting for the longest-running ci job.
* ci: Drop the broadway test runMatthias Clasen2023-05-111-1/+0
| | | | | | | We are ignoring failures here, and nobody is working on fixing them. And the failures end up at the end of the log, adding annoyance to finding the actual failures.
* ci: Improve headless test loggingMatthias Clasen2023-05-061-0/+1
|
* Merge wayland_smalltexture and wayland_glesMatthias Clasen2023-05-041-2/+0
| | | | | | We don't really need to have two full separate test runs for these conditions, so combine them into one test setup.
* ci: Remove the hackMatthias Clasen2023-05-031-14/+2
|
* ci: Use newer mesonMatthias Clasen2023-05-031-7/+2
|
* ci: Add meson back to the fedora imageMatthias Clasen2023-05-031-1/+1
|
* ci: Add pipewire-gstreamer tooMatthias Clasen2023-05-031-1/+1
|
* ci: Add pipewire to the imageMatthias Clasen2023-05-031-1/+1
| | | | | | | And its buddy, wireplumber. But we don't need gnome-desktop-testing anymore, now that installed tests are gone.
* ci: Stop running the unstable test setupsMatthias Clasen2023-05-031-5/+0
| | | | | This is just duplicating all our test runs, for no discernible gain.
* ci: Add mutter to the fedora imageMatthias Clasen2023-05-011-1/+1
| | | | | This is in preparation for trying to use mutter --headless in ci.
* 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
| |