[libgtop] Move the abi check to its own job



commit 065a021a82edb1df85ba10e73368ccf9738e381f
Author: ToMe25 <tome25 gmx de>
Date:   Sun Apr 11 14:57:52 2021 +0000

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]