diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-06-25 10:53:32 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-06-25 10:55:29 +0200 |
commit | 25bfafdb7ee1e55d8e74b4bfb98ec362df2bf82c (patch) | |
tree | 3dffd7da17bb0ecd062fb5ec683b668a0e2a97ba | |
parent | d4898ff912fee68ce3d40b78e4e5e47121384e70 (diff) | |
download | totem-pl-parser-25bfafdb7ee1e55d8e74b4bfb98ec362df2bf82c.tar.gz |
ci: Split ABI checker from normal build target
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4d04bd..7ee436c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,5 @@ +image: fedora:latest + variables: DEPENDENCIES: redhat-rpm-config @@ -22,7 +24,6 @@ variables: LAST_ABI_BREAK: "9ccc3c78a5a41b86bdd2c9fb63ad4963e65e4f63" build-fedora: - image: fedora:latest before_script: # Update - dnf -y update && dnf install -y $DEPENDENCIES @@ -31,11 +32,15 @@ build-fedora: - dnf install -y $TEST_DEPS - GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build test - ninja -C _build install - # ABI check, the deps are needed to build the old version of totem-pl-parser - - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash - - dnf install -y $DEPS_ABI_CHECK - - check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD) artifacts: when: always paths: - _build/meson-logs/* + +check_abi: + before_script: + # ABI check, the deps are needed to build the old version of totem-pl-parser + - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES $DEPS_ABI_CHECK + script: + - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash + - check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD) |