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




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

    ci: Add CI

 .gitlab-ci.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..c8d6f2e3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,27 @@
+image: fedora:34
+
+variables:
+  DEPENDENCIES:
+    autoconf
+    automake
+    gettext
+    itstool
+    make
+    yelp-tools
+    which
+
+build:
+  before_script:
+    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+  script:
+    - mkdir _build
+    - cd _build
+    - ../autogen.sh
+    - make
+    - make install
+    - cp -r /usr/local/share/help/ ${CI_PROJECT_DIR}/help-release-notes/
+  artifacts:
+    when: on_success
+    name: "release-notes-${CI_COMMIT_REF_NAME}"
+    paths:
+      - "${CI_PROJECT_DIR}/help-release-notes/"


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