summaryrefslogtreecommitdiff
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Promote libpcre's subprojectEmmanuele Bassi2021-06-241-0/+3
| | | | | GLib has dropped the internal copy libpcre, so we need to promote libpcre's subproject to the top level.
* ci: Add pcre-devel to the minimal imageEmmanuele Bassi2021-06-241-1/+2
| | | | | | | GLib dropped the internal libpcre copy, which means we end up with a subproject inside a subproject. Since libpcre is frozen, we can rely on using the installed copy.
* ci: Install mako and markup modules in DockerEmmanuele Bassi2021-06-241-0/+2
| | | | Don't install them as part of the CI job. It's pointless repetition.
* ci: Bump up the Docker tagsEmmanuele Bassi2021-06-242-2/+2
|
* ci: Update run-docker scripts to work with PodmanEmmanuele Bassi2021-06-242-12/+53
| | | | Not every Linux distro ships with Docker, and Podman is nicer.
* Use slightly less ancient MesonEmmanuele Bassi2021-06-244-6/+6
|
* ci: Use stable FedoraEmmanuele Bassi2021-06-242-2/+2
| | | | Fedora 29 was EOL'ed in 2019.
* Don't mypy giscanner src and installationJohn Ericson2021-05-231-1/+1
| | | | This resulted in duplicate module errors for me.
* CI: move from mingw32 to mingw64Christoph Reiter2021-05-091-1/+0
| | | | | ccache is currently broken somehow. With 32bit Windows getting less and less usage/testing it's a good idea to move to 64 bit anyway.
* CI: pin mypy for nowChristoph Reiter2021-01-251-1/+1
| | | | | The latest release (0.800) finds a handful of new problems that need to be addressed first.
* Require Python 3.6Christoph Reiter2020-11-122-2/+2
| | | | 3.5 is EOL now and we'd like to use newer typing features
* Add basic mypy supportChristoph Reiter2020-11-071-1/+2
| | | | | | Silence some errors, run mypy in CI Adding annotations to functions/classes will make mypy check them.
* CI: add two jobs building a project using g-i with meson and autotoolsChristoph Reiter2020-05-192-1/+3
| | | | | | | This tests that after installing the g-i tools a simple project using them can be build with meson and autotools. Fixes #341
* CI: switch to new win32 runnersChristoph Reiter2020-05-031-1/+1
| | | | powershell instead of cmd, win2016 instead of 2012r2
* Revert "Meson: Override gobject-introspection-1.0 dependency"Emmanuele Bassi2020-04-246-6/+6
| | | | | | This reverts commit d01a387475e2665275a6cd6b0059bf91121b8300. The nightly run time does not have Meson 0.54
* Meson: Override gobject-introspection-1.0 dependencyXavier Claessens2020-04-236-6/+6
| | | | | | | | | | | | | When gobject-introspection-1.0 pkg-config is not found on the system, Meson can fallback to configure g-i as subproject and needs a dependency object to replace the pc file. The dependency file needs to ensure that typelibs are created before compiling any other gir and provide the girdir for files within build directory. It also need to provide glib dependencies required to compile girs. Bump Meson version to 0.54.0 to use meson.override_dependency().
* CI: add a job that builds glib as a subprojectChristoph Reiter2019-11-142-0/+38
| | | | | | | In our case we have to do various special things in case glib isn't available through pkg-config and not all tests are run. Add a CI job that tests this case so we don't regress.
* build: require meson 0.50.1Christoph Reiter2019-11-084-4/+4
| | | | See !186
* CI: remove workaround for old meson bugChristoph Reiter2019-10-271-4/+1
| | | | | The different dir separator seems to confuse meson now (likely a new change in mingw Python path handling..)
* meson: change "doctool" from a boolean to a feature optionChristoph Reiter2019-09-301-1/+1
| | | | | | | Similar to !180 this should prevent devs from not running all tests by accident. This also adds some checks for the required doctool dependencies, mako and markdown.
* meson: change "cairo" from a boolean to a feature optionChristoph Reiter2019-09-281-1/+1
| | | | | | | | | We require cairo only to run all tests and thus default it to false. This usually results in developers not using it when working on changes and tests depending on cairo then failing in CI. This changes it to a feature option that defaults to auto, so that devs that have cairo headers installed will automatically use it.
* meson: require 0.49.2Christoph Reiter2019-07-263-3/+3
| | | | | It's what we use for testing in CI (so not even sure older versions work) and glib master now also depends on this 0.49.
* ci: test with Python 3.5Christoph Reiter2019-03-152-6/+13
|
* Drop autotools build systemChristoph Reiter2019-03-111-27/+0
|
* ci: use the pkg-config.exe hosted by meson since sourceforge is flakyChristoph Reiter2019-01-061-3/+2
|
* meson: disable doctool by defaultChristoph Reiter2019-01-031-1/+1
| | | | To unbreak continuous
* ci: update meson to 0.49.0Christoph Reiter2019-01-024-4/+4
|
* ci: enable -Werror for msys2+mesonChristoph Reiter2019-01-011-0/+1
|
* meson: build libregress with cairo supportChristoph Reiter2018-12-311-1/+1
| | | | | The cairo dependency fallback code is copied from pygobject. I assume that will work for msvc users (cairo is disabled by default anyway)
* docwriter: Support markdown 3.x. Fixes #250Christoph Reiter2018-12-201-2/+2
| | | | | The headerid extension no longer exists in 3.x. Use the toc extension instead. The toc_depth option was only added in 3.x so still try headerid first.
* meson: build/install mdextensions.py; and add a simple testChristoph Reiter2018-12-171-1/+3
| | | | | Add a simple test using the docwriter so we trigger the docwriter related Python imports.
* ci: Add a msys2 autotools jobChristoph Reiter2018-12-082-0/+27
| | | | | Getting rid of autotools wont be easy, so make sure we run all tests on Windows, not just the ones ported to meson.
* gitlab-ci: Update the docker image to use fedora 29 and the latest mesonChristoph Reiter2018-11-224-5/+5
|
* Drop Python 2 support, require Python 3.4+Christoph Reiter2018-11-052-5/+1
| | | | | | glib did the same thing this cycle, see https://gitlab.gnome.org/GNOME/glib/merge_requests/196 for details
* CI: Upgrade Meson versionPhilip Chimento2018-09-293-3/+3
| | | | | GLib, a wrapped dependency, requires 0.48.0, so our CI environments should have that installed.
* ci: force enable doctool and gtkdoc1.57.3Christoph Reiter2018-08-181-0/+2
| | | | | | | | doctool is an auto option and was disabled by the recent addition of a new dependency on the markdown Python module. Since we didn't have that in our testing docker image the tests were just skipped. This makes sure we error out if any dependencies are missing again.
* ci: always pass --count to flake8 to get more verbose outputChristoph Reiter2018-08-151-1/+1
| | | | | This prints the error count to stderr, and more importantly 0 when everything is OK so we know it did something.
* tests: depend on flake8 instead of including pep8/pyflakesChristoph Reiter2018-08-151-1/+4
| | | | | | | | | | | | | | | | g-i includes an old version of pep8 and pyflakes and uses that during "make check". It (1) doesn't catch all cases newer versions of pycodestyle/pyflakes catch and (2) doesn't test all Python files (3) doesn't work with meson. Instead of updating just remove them and depend on flake8 instead. To run the checks simply run flake8 in the root dir. This also makes it possible to run those checks when using meson and not autotools. To not get test suite failures on flake8 updates move the checks from "make check" to an extra "make check.quality" target.
* autotools: start using AX_COMPILER_FLAGS, enable -Werror on CIChristoph Reiter2018-07-291-0/+1
| | | | | | | | | * This adds a new dependency on autoconf-archive. * Pass WARN_CFLAGS/WARN_LDFLAGS/WARN_SCANNERFLAGS to everything we control the source of * Disables all warning flags which make the build error out for now, we'll re-enable them in followup commits. * AX_COMPILER_FLAGS is used with the release flag always on so we don't get -Werror by default.
* ci: switch back to the gitlab docker registryChristoph Reiter2018-07-231-1/+1
| | | | it seems to be working again now
* ci: add a msvc jobChristoph Reiter2018-07-221-0/+21
|
* ci: add an autotools jobChristoph Reiter2018-07-222-1/+5
| | | | | | Switch to docker hub for now as the gitlab registry is broken. Disable the glib version check in configure.ac because we don't strictly need it for testing.
* meson: Add a "python" option to make the python to build against configurableChristoph Reiter2018-07-112-1/+7
| | | | | | | | This allows us to build with Python 2 and run tests with it. This requires the new "python" meson module which was added in 0.46.0 so bump the required meson version (glib needs a newer one anyway). Also fixes a small test error under Python 2.
* ci: Update meson to 0.47.1 for glibChristoph Reiter2018-07-112-1/+5
|
* ci: don't install glib for msys2Christoph Reiter2018-06-231-1/+0
| | | | | | Since GI master most times depends on an unstable glib release we need to pull it in as a subproject anyway. Not installing a system glib makes sure we don't depend on it by accident.
* CI: use ccacheChristoph Reiter2018-06-211-0/+4
|
* ci: add a MSYS2 32bit jobChristoph Reiter2018-06-181-0/+32
|
* ci: Update meson to 0.46.1Christoph Reiter2018-06-162-3/+5
| | | | glib now requires 0.46.1 and GI uses it as a subproject in CI
* Update the CI imageEmmanuele Bassi2018-05-071-1/+1
| | | | | | We should use the GitLab registry, to allow everyone with the appropriate credentials for gitlab.gnome.org to push images for CI.
* ci: Add missing packageEmmanuele Bassi2018-03-291-0/+1
| | | | We sadly need redhat-rpm-config because of Python's distutils.