[release-notes/wip/hadess/add-ci: 2/2] ci: Add CI




commit 5c116a869166e3a0604e89104ee372017e22cb84
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 23 17:30:38 2021 +0200

    ci: Add CI

 .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..a413bef7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,31 @@
+image: fedora:rawhide
+
+variables:
+  DEPENDENCIES:
+    autoconf
+    automake
+    yelp-tools
+    libxml2
+    itstool
+
+build_stable:
+  before_script:
+    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+  script:
+    - mkdir _build
+    - cd _build
+    - ../autogen.sh
+    - make
+    - make install
+  artifacts:
+    when: on_success
+    name: "release-notes-${CI_COMMIT_REF_NAME}"
+    paths:
+      - "/usr/local/share/help/"
+
+check_abi:
+  before_script:
+    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+  script:
+    - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
+    - check-abi --suppr .ci/upower.suppr ${LAST_ABI_BREAK} $(git rev-parse HEAD)


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