[gimp-help/wip/Jehan/gitlab-ci] gitlab-ci: build the documentation in CI.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help/wip/Jehan/gitlab-ci] gitlab-ci: build the documentation in CI.
- Date: Sun, 3 May 2020 17:41:07 +0000 (UTC)
commit 72bbf920d5a50f782dece5248a7593863e9ac2e2
Author: Jehan <jehan girinstud io>
Date: Sun May 3 15:29:51 2020 +0200
gitlab-ci: build the documentation in CI.
Full HTML build for English only so far. The full build for all
languages takes more than one hour on GNOME Gitlab, hence gets canceled.
I'll have to take a closer look later.
.gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..4b992df4e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+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
+ docbook-xsl
+ pkg-config
+ pngcrush
+ pngnq
+ xsltproc
+ script:
+ - mkdir _build
+ - cd _build
+ - ../autogen.sh --prefix=${INSTALL_PREFIX} --without-gimp
+ - make && make install
+ - mv ${INSTALL_PREFIX}/share/gimp/2.0/help/ ../www/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]