[gimp/wip/Jehan/win32-distrib-job] PLOP.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/win32-distrib-job] PLOP.
- Date: Wed, 30 Sep 2020 19:32:43 +0000 (UTC)
commit 48ac5fd5eaf3039d94e8a9eda0ca582ee5de072a
Author: Jehan <jehan girinstud io>
Date: Wed Sep 30 21:32:36 2020 +0200
PLOP.
.gitlab-ci.yml | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 57 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07ddd48539..9ae2f512c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -357,7 +357,7 @@ win64-nightly:
- gimp
script:
- apt-get update
- - apt-get install -y --no-install-recommends python3 binutils-mingw-w64-x86-64 wine
+ - apt-get install -y --no-install-recommends python3 binutils-mingw-w64-x86-64 wine64
# Package ressources
- mkdir -p ${GIMP_DISTRIB}
@@ -431,3 +431,59 @@ win64-nightly:
done
needs: ["gimp-win64"]
+
+win32-nightly:
+ stage: distribution
+ dependencies:
+ - gimp-win32
+ variables:
+ GIMP_PREFIX: "gimp-prefix"
+ GIMP_DISTRIB: "gimp"
+ artifacts:
+ when: always
+ paths:
+ - gimp
+ script:
+ - apt-get update
+ - apt-get install -y --no-install-recommends python3 binutils-mingw-w64-i686 wine
+
+ # Package ressources
+ - mkdir -p ${GIMP_DISTRIB}
+ - cp -fr ${GIMP_PREFIX}/etc ${GIMP_DISTRIB}
+ - cp -fr ${GIMP_PREFIX}/include ${GIMP_DISTRIB}
+ - cp -fr ${GIMP_PREFIX}/ssl ${GIMP_DISTRIB}
+ - cp -fr ${GIMP_PREFIX}/share ${GIMP_DISTRIB}
+
+ # Package executable
+ - mkdir ${GIMP_DISTRIB}/bin
+ - cp -fr ${GIMP_PREFIX}/bin/gimp*.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gdbus.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/glib-compile-schemas.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gdk-pixbuf-query-loaders.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gdk-pixbuf-pixdata.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gdk-pixbuf-thumbnailer.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gspawn-win64-helper.exe ${GIMP_DISTRIB}/bin/
+ - cp -fr ${GIMP_PREFIX}/bin/gspawn-win64-helper-console.exe ${GIMP_DISTRIB}/bin/
+
+ - cp build/windows/crossbuild-gitlab-ci/gimp-wrapper.cmd ${GIMP_DISTRIB}/
+
+ - mkdir ${GIMP_DISTRIB}/libexec
+ - cp -fr ${GIMP_PREFIX}/libexec/gimp*.exe ${GIMP_DISTRIB}/libexec/
+
+ # Package lib
+ - mkdir ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/gimp ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/gio ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/gdk-pixbuf-2.0 ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/gegl-0.4 ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/babl-0.1 ${GIMP_DISTRIB}/lib/
+ - cp -fr ${GIMP_PREFIX}/lib/girepository-1.0 ${GIMP_DISTRIB}/lib/
+
+ - mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+ - echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
+ - ls /proc/sys/fs/binfmt_misc/
+ - cat /proc/sys/fs/binfmt_misc/status
+ - gdk-pixbuf-query-loaders.exe ${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.dll >
${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ - sed -i "s*$GIMP_DISTRIB/**" ${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ - sed -i '/.dll"/s*/*\\\\*g' ${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ needs: ["gimp-win32"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]