From 065a021a82edb1df85ba10e73368ccf9738e381f Mon Sep 17 00:00:00 2001 From: ToMe25 Date: Sun, 11 Apr 2021 14:57:52 +0000 Subject: Move the abi check to its own job To make it easier to tell which check failed --- .gitlab-ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1eba76a..d1d79757 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - build + - abi variables: FEDORA_DEPENDENCIES: @@ -43,10 +44,17 @@ build-fedora: - make - make install - make distcheck - - cd .. - - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash - - dnf install -y $FEDORA_DEPENDENCIES_ABI_CHECK - - check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD) + +abi-fedora: + image: fedora:latest + stage: abi + needs: + - build-fedora + before_script: + - dnf install -y $FEDORA_DEPENDENCIES_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) build-ubuntu: image: ubuntu:latest -- cgit v1.2.1