aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* build: Bump to meson version 0.64.0Sebastian Wick2025-11-271-9/+7
| | | | | | | | | | | | | | | | This version will be required in the next commit. Bumps the CI image to get the required version from the debian package instead of from pip. Removes the bindir builtin directory from pkgconfig.generate() which is deprecated since 0.62.0. It will be automatically included when referenced. Use `meson setup` everywhere instead of relying on deprecated automatic detection of the setup command. Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
* ci: upgrade FreeBSD to 14.3ykla2025-07-201-3/+3
| | | Signed-off-by: ykla yklaxds@gmail.com
* ci: upgrade FreeBSD to 14.2ykla2025-06-251-3/+3
| | | | Signed-off-by: ykla <yklaxds@gmail.com>
* ci: Update ci-templatesDaniel Stone2025-01-211-3/+3
| | | | | | | This includes an explicit way to specify the container architecture, which fixes our rebuilds on ARMv7. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: use detached MR pipelinesSimon Ser2024-08-091-0/+7
| | | | | | | | | See the freedesktop wiki [1]. This allows external contributors to have CI run properly. [1]: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/wikis/GitLab-CI#for-project-developers Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: turn on -Dwerror=true for FreeBSDSimon Ser2024-04-091-1/+1
| | | | | | It was turned on for Linux only. Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: use --fatal-meson-warningsSimon Ser2024-04-091-2/+2
| | | | | | Turns Meson warnings into errors. Useful to avoid missing warnings. Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: bump Meson version to 0.57Simon Ser2024-04-091-2/+2
| | | | Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: upgrade FreeBSD to 13.2Simon Ser2023-08-021-2/+2
| | | | Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: upgrade Debian to bookwormSimon Ser2023-08-021-3/+3
| | | | | | This is the current Debian stable release. Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: upgrade ci-templatesSimon Ser2023-08-021-7/+5
| | | | | | | | | Newer ci-templates contains bugfixes. While at it, stop using a GitLab YAML reference, because we only use this value in one spot. Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: upgrade imagesSimon Ser2022-09-131-5/+5
| | | | | | | | Upgrade Debian to bullseye and FreeBSD to 13.1. FreeBSD 13.0 is not supported anymore, and this ensures we still build on fresh images. Signed-off-by: Simon Ser <contact@emersion.fr>
* ci: set ASAN_OPTIONS=detect_odr_violation=0Simon Ser2022-09-131-1/+3
| | | | | Signed-off-by: Simon Ser <contact@emersion.fr> References: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/154
* meson: build requirement to 0.56.0Simon Ser2022-02-051-2/+2
| | | | | | meson.project_build_root() is only available with 0.56.0. Signed-off-by: Simon Ser <contact@emersion.fr>
* gitlab-ci: add a FreeBSD test jobAlex Richardson2021-09-101-3/+89
| | | | | | | | | | This uses the new FreeBSD supported added in https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/114 After the latest series of commits, we should be able to compile and successfully run all tests, so adding this CI job will prevent any future FreeBSD regressions. Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* gitlab-ci: add junit reports to the debian builderAlex Richardson2021-09-101-1/+2
| | | | Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* gitlab-ci: Fix copy-paste error in a commentAlex Richardson2021-09-101-2/+2
| | | | Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* gitlab-ci: remove duplicated lines in ci-templates includeAlex Richardson2021-09-101-6/+3
| | | | | | The file key can have multiple values, so we don't need another "project". Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* gitlab-ci: update ci-templates to the latest commitAlex Richardson2021-09-101-1/+1
| | | | | | This is in preparation for adding FreeBSD CI support. Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* ci: Sanitise build and install pathsDaniel Stone2021-08-041-5/+5
| | | | | | | | No sense in generating enormously long paths. This also happens to fix artifacts not actually recording anything because we had a mismatch in artifact paths vs. actual paths. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Use WerrorDaniel Stone2021-08-041-1/+1
| | | | | | No point warning on stuff if we don't make it fail. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Use appropriate concurrency levelDaniel Stone2021-08-041-1/+2
| | | | | | | The appropriate concurrency level is not necessarily the number of available CPUs; limit it to what the runners tell us we should be using. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Add release buildsDaniel Stone2021-08-041-1/+29
| | | | Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Use consistent YAML indendationDaniel Stone2021-08-041-7/+7
| | | | Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Only run ci-fairy on MRsDaniel Stone2021-08-041-0/+13
| | | | | | This requires adding rules to all the jobs, as it's all or nothing. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Add ARMv7 buildDaniel Stone2021-08-041-0/+33
| | | | Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Add AArch64 buildDaniel Stone2021-08-041-0/+39
| | | | Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Parameterise and template buildDaniel Stone2021-08-031-25/+47
| | | | | | This will make it a lot easier to add other variants later. Signed-off-by: Daniel Stone <daniels@collabora.com>
* ci: Add comments, rename build stagesDaniel Stone2021-08-031-7/+56
| | | | | | No non-cosmetic changes, just making things more accessible. Signed-off-by: Daniel Stone <daniels@collabora.com>
* CI: turn on ASan and UBSanPekka Paalanen2021-07-011-1/+1
| | | | | | | I just noticed that libwayland test suite is ASan and UBSan clean, so let's turn that on in CI to avoid regressing. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
* ci: Use ci-fairy to check for Signed-off-byJonas Ådahl2021-03-261-1/+19
| | | | Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
* build: drop autotoolsSimon Ser2021-03-051-30/+3
| | | | | | Meson now replaces autotools. Signed-off-by: Simon Ser <contact@emersion.fr>
* gitlab CI: update to use the fdo ci templatesPeter Hutterer2020-06-051-10/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of building a new debian image every time we build the repo, let's build it once and re-use it. This way we're more likely to spot actual bugs vs issues with the distribution (or mirrors). This is the same approach mesa, gstreamer, libinput, etc. already use. The pipeline consists of two parts: container-build and distribution-image. Both use the FDO_DISTRIBUTION_... variables to do their thing, the former to build an image, the latter to use that image. The container-build step is a noop if an image with that tag already exists in the registry, the templates take care of all that. The .debian.buster section groups the variables needed to easily extend all jobs requiring buster. Not all variables are used by all jobs but meh. The grouping is slightly odd because some debian-specific variables are in the global variables and others in the .debian.buster section. This grouping will make things easier if we extend to build on other distributions - then we have all packages and tags in one place. Because buster doesn't have a recent-enough version of meson, we install that from pip. Fixes #79 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
* .gitlab-ci.yml: Switch from Stretch to BusterMatt Turner2020-03-181-3/+3
| | | | | | | | | Stretch is old-stable and will reach end of life this year. buster-backports has newer Meson available, so switching to Buster will allow us to bump the Meson requirements. Signed-off-by: Matt Turner <mattst88@gmail.com>
* Add Meson buildEmmanuele Bassi2020-01-101-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meson is a next generation build system, simpler than Autotools and also faster and more portable. Most importantly, it will make integrating ASan easier in CI. The goal is to maintain feature parity of the Meson build with the Autotools build, until such time when we can drop the latter. Add a script which generates the desired Doxygen configuration for our various output formats and executes it using that configuration. This is not something Meson can or should do. Fixes: https://gitlab.freedesktop.org/wayland/wayland/issues/80 [daniels: Changed to bump version, use GitLab issues URL, remove header checks not used in any code, remove pre-pkg-config Expat support, added missing include paths to wayland-egl and cpp-compile-test, added GitLab CI. Bumped version, removed unnecessary pkg-config paths.] [daniels: Properly install into mandir/man3 via some gross paramaterisation, generate real stamp files.] Pekka: - squashed patches - removed MAKEFLAGS from meson CI - remove unused PACKAGE* defines - fix up scanner dependency handling - instead of host_scanner option, build wayland-scanner twice when cross-compiling - changed .pc files to match more closely the autotools versions - reorder doxygen man sources to reduce diff to autotools - fix pkgconfig.generate syntax warnings (new in Meson) - bump meson version to 0.47 for configure_file(copy) and run_command(check) - move doc tool checks into doc/meson.build, needed in more places - make all doc tools mandatory if building docs - check dot and doxygen versions - add build files under doc/publican - reindent to match Weston Meson style Simon: - Remove install arg from configure_file - Don't build wayland-scanner twice during cross-build - Fix naming of the threads dependency - Store tests in dict - Add missing HAVE_* decls for functions - Remove unused cc_native variable - Make doxygen targets a dict - Make dot_gv a dict - Use dicts in man_pages - Make decls use dicts - Make generated_headers use dicts - Align Meson version number with autotool's Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Simon Ser <contact@emersion.fr>
* .gitlab-ci.yml: collect the distcheck error logsEmil Velikov2018-06-181-0/+1
| | | | | | | | | | | | | | Currently we issue both check and distcheck, as reportedly there has been cases in the past one works, while the other doesn't. Yet we only collect the check artefacts (test logs). Correct that, by picking the distcheck ones as well. Note: the build-*/wayland*/ directory is purged by distcheck if it runs successfully. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
* Add .gitlab-ci.ymlDaniel Stone2018-06-071-0/+35
Add a GitLab CI configuration which tests building, 'make check', and 'make distcheck' of the tree inside a Debian Stretch container. The choice of distribution base was arbitrary and may easily be changed. When commits are pushed to upstream, the commits will run this CI pipeline to run these tests, and capture the result as an artifact bundle, including the compiled binaries and full test suite logs. Results can be seen at: https://gitlab.freedesktop.org/wayland/wayland/pipelines/ Signed-off-by: Daniel Stone <daniels@collabora.com>