[gimp-help/wip/Jehan/gitlab-ci] gitlab-ci: build the documentation in CI.



commit bb78c1c7ed2358ac1ca36d2b8cba86801b78b238
Author: Jehan <jehan girinstud io>
Date:   Sun May 3 15:29:51 2020 +0200

    gitlab-ci: build the documentation in CI.
    
    Full HTML build except for the 'ro' language which fails on some files.
    We should investigate the issue later.

 .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..c251f9f83
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,30 @@
+image: debian:testing
+
+stages:
+  - build
+
+variables:
+  INSTALL_DIR: "_install"
+  INSTALL_PREFIX: "${CI_PROJECT_DIR}/${INSTALL_DIR}"
+
+build-debian:
+  stage: build
+  artifacts:
+    expire_in: 1 week
+    when: always
+    paths:
+    - www/
+  before_script:
+    - apt-get update
+    - apt-get install -y --no-install-recommends
+        automake
+        build-essential
+        pkg-config
+        xsltproc
+  script:
+    # All languages but 'ro', disabled until we figure out why it breaks.
+    - export ALL_LINGUAS="ca da de el en en_GB es fi fr hr it ja ko lt nl nn pt_BR ru sl sv zh_CN"
+    - mkdir _build
+    - cd _build
+    - ../autogen.sh --prefix=${INSTALL_PREFIX} --without-gimp
+    - mv ${INSTALL_PREFIX}/share/gimp/2.0/help/ www/


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