[gimp/wip/schumaml/gitlab-ci: 4/8] build: modified .gitlab-ci.yml to include a gimp build
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/schumaml/gitlab-ci: 4/8] build: modified .gitlab-ci.yml to include a gimp build
- Date: Sun, 28 Jul 2019 19:00:35 +0000 (UTC)
commit 26e46a08dfa3c2f4382abe84eb081e4c36b528c2
Author: Michael Schumacher <schumaml gmx de>
Date: Sun Jul 21 13:24:51 2019 +0200
build: modified .gitlab-ci.yml to include a gimp build
.gitlab-ci.yml | 257 ++++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 173 insertions(+), 84 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f1c990954..888d3e533e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,11 @@
stages:
- - dependencies
+ - babl
- gegl
+ - gimp
variables:
- BABL_DIR: "_babl_install"
- BABL_PREFIX: "$CI_PROJECT_DIR/$BABL_DIR"
+ INSTALL_DIR: "_install"
+ INSTALL_PREFIX: "$CI_PROJECT_DIR/$INSTALL_DIR"
cache:
paths:
@@ -13,14 +14,18 @@ cache:
image: archlinux/base:latest
.babl-base:
- stage: dependencies
+ stage: babl
artifacts:
paths:
- - $BABL_DIR
+ - $INSTALL_DIR
variables:
GIT_DEPTH: "5"
before_script:
- - pacman -Syu --noconfirm --needed --cachedir `pwd`/_pacman_cache git base-devel meson lcms2
+ - pacman -Syu --noconfirm --needed --cachedir `pwd`/_pacman_cache
+ git
+ base-devel
+ meson
+ lcms2
- git clone --depth=$GIT_DEPTH https://gitlab.gnome.org/GNOME/babl.git _babl
- cd _babl
- mkdir _build
@@ -31,46 +36,53 @@ babl-git-autotools:
GIT_STRATEGY: none
script:
- cd _build
- - ../autogen.sh --prefix="$BABL_PREFIX"
- - make
- - make install
-
-babl-git-meson:
- extends: .babl-base
- variables:
- GIT_STRATEGY: none
- script:
- - meson -Dprefix="$BABL_PREFIX" _build
- - ninja -C _build
- - ninja -C _build install
-
-babl-min-autotools:
- extends: .babl-base
- script:
- - grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' >
.babl_min_version
- - git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION"
- - git checkout MIN_VERSION
- - cd _build
- - ../autogen.sh --prefix="$BABL_PREFIX"
+ - ../autogen.sh --prefix="$INSTALL_PREFIX"
- make
- make install
-babl-min-meson:
- extends: .babl-base
- script:
- - grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' >
.babl_min_version
- - git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION"
- - git checkout MIN_VERSION
- - meson -Dprefix="$BABL_PREFIX" _build
- - ninja -C _build
- - ninja -C _build install
-
-.build-gegl:
+# babl-git-meson:
+# extends: .babl-base
+# variables:
+# GIT_STRATEGY: none
+# script:
+# - meson -Dprefix="$INSTALL_PREFIX" _build
+# - ninja -C _build
+# - ninja -C _build install
+
+# babl-min-autotools:
+# extends: .babl-base
+# script:
+# - grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' >
.babl_min_version
+# - git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION"
+# - git checkout MIN_VERSION
+# - cd _build
+# - ../autogen.sh --prefix="$INSTALL_PREFIX"
+# - make
+# - make install
+
+# babl-min-meson:
+# extends: .babl-base
+# script:
+# - grep babl_required_version ../configure.ac | grep -o '[0-9]*\.[0-9]*\.[0-9]*' | sed 's/\./_/g' >
.babl_min_version
+# - git fetch --no-tags origin "refs/tags/BABL_`cat .babl_min_version`:refs/tags/MIN_VERSION"
+# - git checkout MIN_VERSION
+# - meson -Dprefix="$INSTALL_PREFIX" _build
+# - ninja -C _build
+# - ninja -C _build install
+
+.gegl-base:
stage: gegl
+ artifacts:
+ paths:
+ - $INSTALL_DIR
variables:
- GIT_DEPTH: "15"
+ GIT_DEPTH: "5"
before_script:
- pacman -Syu --noconfirm --needed --cachedir `pwd`/_pacman_cache
+ git
+ base-devel
+ meson
+ lcms2
base-devel
ffmpeg
graphviz
@@ -87,59 +99,136 @@ babl-min-meson:
python
sdl2
suitesparse
- script:
- - mkdir _build
- - cd _build
- - PKG_CONFIG_PATH=$BABL_PREFIX/lib/pkgconfig ../autogen.sh $CONFIG_OPTIONS
- - LD_LIBRARY_PATH="$BABL_PREFIX/lib:$LD_LIBRARY_PATH" make
- - LD_LIBRARY_PATH="$BABL_PREFIX/lib:$LD_LIBRARY_PATH" make check
-
-.build-default:
- extends: .build-gegl
- variables:
- CONFIG_OPTIONS: ""
+ - git clone --depth=$GIT_DEPTH https://gitlab.gnome.org/GNOME/gegl.git _gegl
+ - cd _gegl
+ - mkdir _build
-.build-all:
- extends: .build-gegl
+gegl-git-autotools:
+ extends: .gegl-base
variables:
- CONFIG_OPTIONS: "--enable-debug --enable-mmx --enable-sse --enable-profile --enable-docs"
+ GIT_STRATEGY: none
+ script:
+ - cd _build
+ - PKG_CONFIG_PATH="$INSTALL_PREFIX/lib/pkgconfig" ../autogen.sh --prefix="$INSTALL_PREFIX"
$CONFIG_OPTIONS
+ - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make
+ - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make install
-build-default-git-autotools:
- extends: .build-default
- dependencies:
- - babl-git-autotools
+.gimp-base:
+ stage: gimp
+ artifacts:
+ paths:
+ - $INSTALL_DIR
+ variables:
+ GIT_DEPTH: "5"
+ before_script:
+ - pacman -Syu --noconfirm --needed --cachedir `pwd`/_pacman_cache
+ git
+ base-devel
+ meson
+ appstream-glib
+ at-spi2-atk
+ dbus-glib
+ desktop-file-utils
+ glib-networking
+ gtk3
+ hicolor-icon-theme
+ jasper
+ lcms2
+ libexif
+ libgudev
+ libheif
+ libmng
+ libmypaint
+ librsvg
+ libwebp
+ libwmf
+ libxmu
+ libxpm
+ mypaint-brushes
+ openexr
+ poppler-data
+ pygtk
+ alsa-lib
+ ghostscript
+ poppler-glib
+ gtk-doc
+ intltool
+ iso-codes
+ xorg-server-xvfb
+ - git clone --depth=$GIT_DEPTH https://gitlab.gnome.org/GNOME/gimp.git _gimp
+ - cd _gimp
+ - mkdir _build
-build-default-git-meson:
- extends: .build-default
- dependencies:
- - babl-git-meson
+.build-gimp:
+ extends: .gimp-base
+ variables:
+ GIT_STRATEGY: none
+ script:
+ - cd _build
+ - LIBMYPAINT_CFLAGS="-I/usr/include/libmypaint-1.3 -I/usr/include/json-c" LIBMYPAINT_LIBS="-lmypaint-1.3
-ljson-c" PKG_CONFIG_PATH="$INSTALL_PREFIX/lib/pkgconfig" ../autogen.sh --prefix="$INSTALL_PREFIX"
$CONFIG_OPTIONS
+ - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make
+ - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make check
+ artifacts:
+ name: "app-tests-logs-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
+ when: on_failure
+ expire_in: 1 week
+ paths:
+ - app/tests/
-build-default-min-autotools:
- extends: .build-default
- dependencies:
- - babl-min-autotools
+# .build-default:
+# extends: .build-gimp
+# variables:
+# CONFIG_OPTIONS: ""
-build-default-min-meson:
- extends: .build-default
- dependencies:
- - babl-min-meson
+.build-all:
+ extends: .build-gimp
+ variables:
+ CONFIG_OPTIONS: "--enable-debug"
+
+# build-default-git-autotools:
+# extends: .build-default
+# dependencies:
+# - babl-git-autotools
+# - gegl-git-autotools
+
+# build-default-git-meson:
+# extends: .build-default
+# dependencies:
+# - babl-git-meson
+# - gegl-git-meson
+
+# build-default-min-autotools:
+# extends: .build-default
+# dependencies:
+# - babl-min-autotools
+# - gegl-min-autotools
+
+# build-default-min-meson:
+# extends: .build-default
+# dependencies:
+# - babl-min-meson
+# - gegl-min-meson
build-all-git-autotools:
extends: .build-all
dependencies:
- babl-git-autotools
-
-build-all-git-meson:
- extends: .build-all
- dependencies:
- - babl-git-meson
-
-build-all-min-autotools:
- extends: .build-all
- dependencies:
- - babl-min-autotools
-
-build-all-min-meson:
- extends: .build-all
- dependencies:
- - babl-min-meson
+ - gegl-git-autotools
+
+# build-all-git-meson:
+# extends: .build-all
+# dependencies:
+# - babl-git-meson
+# - gegl-git-meson
+
+# build-all-min-autotools:
+# extends: .build-all
+# dependencies:
+# - babl-min-autotools
+# - gegl-min-autotools
+
+# build-all-min-meson:
+# extends: .build-all
+# dependencies:
+# - babl-min-meson
+# - gegl-min-meson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]