[gimp-help/wip/wormnest/ci] ci experimenting
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help/wip/wormnest/ci] ci experimenting
- Date: Fri, 4 Mar 2022 03:13:16 +0000 (UTC)
commit 2a55be1de3e5c11904980588a1fdbbd4af215bef
Author: Jacob Boerema <jgboerema gmail com>
Date: Thu Mar 3 21:47:13 2022 -0500
ci experimenting
.gitlab-ci.yml | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8cbc4e8f..7af865847 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
image: debian:testing
stages:
+ - prepare
- build
variables:
@@ -8,14 +9,14 @@ variables:
INSTALL_PREFIX: "${CI_PROJECT_DIR}/${INSTALL_DIR}"
LINGUAS: "en"
-build-debian:
- stage: build
+prepare-debian:
+ stage: prepare
+ cache: {}
artifacts:
expire_in: 1 week
when: always
paths:
- - www/
- - html/
+ - _build/
before_script:
- apt-get update
- apt-get install -y --no-install-recommends
@@ -37,6 +38,22 @@ build-debian:
- mkdir _build
- cd _build
- ../autogen.sh --prefix=${INSTALL_PREFIX} --without-gimp
+
+build-debian:
+ stage: build
+ dependencies:
+ - prepare-debian
+ cache:
+ paths:
+ - apt-cache
+
+ artifacts:
+ expire_in: 1 week
+ when: always
+ paths:
+ - www/
+ - html/
+ script:
- make && make install
- mv ${INSTALL_PREFIX}/share/gimp/2.0/help/ ../www/
- cd ../web
@@ -46,3 +63,5 @@ build-debian:
- cd ../_build/quickreference
- mv ./pdf/ ../../html/2.10/pdf/
timeout: 2 hours 30 minutes
+
+ needs: ["prepare-debian"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]