mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-01 20:57:59 +02:00
CI: clone the upstream repo for the abidiff job
The forked repo may not have the latest tags. And we only need to run this on MRs, no point ABI-diffing on every push.
This commit is contained in:
parent
6970a5153a
commit
82e8f20fff
2 changed files with 10 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ abicheck@fedora:38:
|
|||
extends:
|
||||
- .fedora-build@template
|
||||
variables:
|
||||
GIT_STRATEGY: none # We need the upstream repo instead
|
||||
MESON_ARGS: '-Dwerror=true'
|
||||
script:
|
||||
- git clone --depth=1 https://gitlab.freedesktop.org/hadess/check-abi
|
||||
|
|
@ -285,8 +286,12 @@ abicheck@fedora:38:
|
|||
meson compile -C _build
|
||||
meson install -C _build
|
||||
popd
|
||||
- git clone --depth=1 https://gitlab.freedesktop.org/$FDO_UPSTREAM_REPO
|
||||
- cd libei
|
||||
- git fetch --tags
|
||||
- check-abi 0.99.1 HEAD
|
||||
only:
|
||||
- merge_requests
|
||||
|
||||
|
||||
#################################################################
|
||||
|
|
|
|||
|
|
@ -276,6 +276,7 @@ abicheck@{{distro.name}}:{{version}}:
|
|||
extends:
|
||||
- .{{distro.name}}-build@template
|
||||
variables:
|
||||
GIT_STRATEGY: none # We need the upstream repo instead
|
||||
MESON_ARGS: '-Dwerror=true'
|
||||
script:
|
||||
- git clone --depth=1 https://gitlab.freedesktop.org/hadess/check-abi
|
||||
|
|
@ -285,8 +286,12 @@ abicheck@{{distro.name}}:{{version}}:
|
|||
meson compile -C _build
|
||||
meson install -C _build
|
||||
popd
|
||||
- git clone --depth=1 https://gitlab.freedesktop.org/$FDO_UPSTREAM_REPO
|
||||
- cd libei
|
||||
- git fetch --tags
|
||||
- check-abi {{last_abi_break}} HEAD
|
||||
only:
|
||||
- merge_requests
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue