summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToMe25 <tome25@gmx.de>2021-04-11 14:57:52 +0000
committerToMe25 <38815969+ToMe25@users.noreply.github.com>2021-04-12 13:52:25 +0200
commit065a021a82edb1df85ba10e73368ccf9738e381f (patch)
tree6623133cb4de8e8c9777dfb696ba9a47cbdd617a
parent61093d22d9b42eb235e792931e9eb4e5f24fd602 (diff)
downloadlibgtop-065a021a82edb1df85ba10e73368ccf9738e381f.tar.gz
Move the abi check to its own job
To make it easier to tell which check failed
-rw-r--r--.gitlab-ci.yml16
1 files 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