diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a596a8..0fa4ead 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ variables: # See the documentation here: # # https://wayland.freedesktop.org/libinput/doc/latest/building_libinput.html # ############################################################################### - FEDORA_PACKAGES: 'git diffutils gcc gcc-c++ pkgconf-pkg-config systemd-devel libxkbcommon-devel libxml2 doxygen python3-attrs python3-pytest python3-dbusmock python3-jinja2 python3-pip hugo ' + FEDORA_PACKAGES: 'git diffutils gcc gcc-c++ pkgconf-pkg-config systemd-devel libxkbcommon-devel libxml2 doxygen python3-attrs python3-pytest python3-dbusmock python3-jinja2 python3-pip hugo libabigail ' FEDORA_PIP_PACKAGES: 'meson ninja structlog strenum ' DEBIAN_PACKAGES: 'git gcc g++ pkg-config libsystemd-dev libxkbcommon-dev libxml2 doxygen python3-attr python3-pytest python3-dbusmock python3-jinja2 python3-pip ' DEBIAN_PIP_PACKAGES: 'meson ninja structlog strenum ' @@ -48,8 +48,8 @@ variables: # changing these will force rebuilding the associated image # Note: these tags have no meaning and are not tied to a particular # libinput version - FEDORA_TAG: '2023-05-18.2' - DEBIAN_TAG: '2023-05-18.2' + FEDORA_TAG: '2023-05-18.3' + DEBIAN_TAG: '2023-05-18.3' FDO_UPSTREAM_REPO: libinput/libei @@ -272,6 +272,22 @@ werror@fedora:38: MESON_ARGS: '-Dwerror=true' allow_failure: true +abicheck@fedora:38: + extends: + - .fedora-build@template + variables: + MESON_ARGS: '-Dwerror=true' + script: + - git clone --depth=1 https://gitlab.freedesktop.org/hadess/check-abi + - | + pushd check-abi + meson _build + meson compile -C _build + meson install -C _build + popd + - git fetch --tags + - check-abi 0.99.1 HEAD + ################################################################# # # diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index d7acd7a..c366537 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -272,6 +272,22 @@ werror@{{distro.name}}:{{version}}: MESON_ARGS: '-Dwerror=true' allow_failure: true +abicheck@{{distro.name}}:{{version}}: + extends: + - .{{distro.name}}-build@template + variables: + MESON_ARGS: '-Dwerror=true' + script: + - git clone --depth=1 https://gitlab.freedesktop.org/hadess/check-abi + - | + pushd check-abi + meson _build + meson compile -C _build + meson install -C _build + popd + - git fetch --tags + - check-abi {{last_abi_break}} HEAD + {% endfor %} ################################################################# diff --git a/.gitlab-ci/config.yml b/.gitlab-ci/config.yml index dc04c53..d9832a3 100644 --- a/.gitlab-ci/config.yml +++ b/.gitlab-ci/config.yml @@ -3,7 +3,9 @@ # # We're happy to rebuild all containers when one changes. -.default_tag: &default_tag '2023-05-18.2' +.default_tag: &default_tag '2023-05-18.3' + +last_abi_break: 0.99.1 distributions: - name: fedora @@ -27,6 +29,7 @@ distributions: - python3-jinja2 - python3-pip - hugo # for documentation only + - libabigail # for abidiff only pips: - meson - ninja