[gimp] gitlab-ci: removing win*-nightly jobs.



commit c11dc691373d9c049d216c74028727afcbb65576
Author: Jehan <jehan girinstud io>
Date:   Thu Jul 28 15:47:29 2022 +0200

    gitlab-ci: removing win*-nightly jobs.
    
    These were originally to distribute cross-built binaries. Nowadays, we
    just use the native-made installer, which is also closer to what people
    will really get for release versions.
    So let's just remove these. I keep the crossroad builds as these are
    still useful to detect Windows build bugs quickly, but we don't need
    these distribution steps.
    
    This also takes care of failures in the job, but since it's mostly a
    useless job nowadays, rather than wasting my time investigating this, I
    simplify the CI.

 .gitlab-ci.yml | 168 ---------------------------------------------------------
 1 file changed, 168 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c3ec40f3c..21804f5bd4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -798,174 +798,6 @@ dev-docs:
     - mv _build/devel-docs/reference .
   needs: ["gimp-distcheck-debian"]
 
-win64-nightly:
-  rules:
-    # On commits except tags.
-    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_TAG == null'
-    # Custom builds though web GUI, API or schedules.
-    - if: '$GIMP_CI_CROSSROAD_WIN64 != null'
-  stage: distribution
-  dependencies:
-    - gimp-win64
-  variables:
-    GIMP_PREFIX: "gimp-prefix"
-    GIMP_DISTRIB: "gimp-w64"
-  artifacts:
-    name: "GIMP-Win64-CI-${CI_COMMIT_SHORT_SHA}"
-    when: always
-    expire_in: 2 days
-    paths:
-    - gimp-w64
-  script:
-    - apt-get update
-    - apt-get install -y --no-install-recommends
-                      python3 binutils-mingw-w64-x86-64 file
-                      libglib2.0-bin
-
-    # 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 executables.
-    - mkdir ${GIMP_DISTRIB}/bin
-    - cp -fr ${GIMP_PREFIX}/bin/gimp*.exe ${GIMP_DISTRIB}/bin/
-
-    - mkdir ${GIMP_DISTRIB}/libexec
-    - cp -fr ${GIMP_PREFIX}/libexec/gimp*.exe ${GIMP_DISTRIB}/libexec/
-
-    # Add a wrapper at tree root, less messy than having to look for the
-    # binary inside bin/, in the middle of all the DLLs.
-    - echo "bin\gimp-2.99.exe" > ${GIMP_DISTRIB}/gimp.cmd
-
-    # Package library data and modules.
-    - 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/
-
-    # Remove files for older GIMP
-    - rm -fr ${GIMP_DISTRIB}/lib/gimp/2.0/
-
-    # Generate share/glib-2.0/schemas/gschemas.compiled
-    - glib-compile-schemas --targetdir=${GIMP_DISTRIB}/share/glib-2.0/schemas 
${GIMP_DISTRIB}/share/glib-2.0/schemas
-
-    # Package needed DLLs only
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-console-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-test-clipboard-2.99.exe 
${GIMP_PREFIX}/ ${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimptool-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-
-    - for dll in ${GIMP_DISTRIB}/lib/babl-0.1/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gegl-0.4/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gio/modules/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gimp/2.99/modules/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gimp/2.99/plug-ins/*/*.exe; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-  needs: ["gimp-win64"]
-
-win32-nightly:
-  rules:
-    # Custom builds only (web GUI, API or schedules).
-    - if: '$GIMP_CI_CROSSROAD_WIN32 != null'
-  stage: distribution
-  dependencies:
-    - gimp-win32
-    - deps-win64
-  variables:
-    GIMP_PREFIX: "gimp-prefix"
-    GIMP_DISTRIB: "gimp-w32"
-    XDG_DATA_HOME:  "$CI_PROJECT_DIR/.local/share/"
-  artifacts:
-    name: "GIMP-Win32-${CI_COMMIT_SHORT_SHA}"
-    when: always
-    expire_in: 2 days
-    paths:
-    - gimp-w32
-  script:
-    - apt-get update
-    - apt-get install -y --no-install-recommends
-                      python3 binutils-mingw-w64-i686 file
-                      libglib2.0-bin
-
-    # 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 executables.
-    - mkdir ${GIMP_DISTRIB}/bin
-    - cp -fr ${GIMP_PREFIX}/bin/gimp*.exe ${GIMP_DISTRIB}/bin/
-
-    - mkdir ${GIMP_DISTRIB}/libexec
-    - cp -fr ${GIMP_PREFIX}/libexec/gimp*.exe ${GIMP_DISTRIB}/libexec/
-
-    # Add a wrapper at tree root, less messy than having to look for the
-    # binary inside bin/, in the middle of all the DLLs.
-    - echo "bin\gimp-2.99.exe" > ${GIMP_DISTRIB}/gimp.cmd
-
-    # Package library data and modules.
-    - 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/
-
-    # I fail to install wine32 inside the Gitlab runner. So instead, I
-    # just reuse the loaders.cache generated in the deps-win64 job as
-    # they should be the same (text format).
-    - cp ${XDG_DATA_HOME}/crossroad/roads/w64/gimp/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache 
${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
-
-    # Generate share/glib-2.0/schemas/gschemas.compiled
-    - glib-compile-schemas --targetdir=${GIMP_DISTRIB}/share/glib-2.0/schemas 
${GIMP_DISTRIB}/share/glib-2.0/schemas
-
-    # Package needed DLLs only.
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-console-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimp-test-clipboard-2.99.exe 
${GIMP_PREFIX}/ ${GIMP_DISTRIB}
-    - python3 build/windows/gitlab-ci/dll_link.py ${GIMP_DISTRIB}/bin/gimptool-2.99.exe ${GIMP_PREFIX}/ 
${GIMP_DISTRIB}
-
-    - for dll in ${GIMP_DISTRIB}/lib/babl-0.1/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gegl-0.4/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gio/modules/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gimp/2.99/modules/*.dll; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-    - for dll in ${GIMP_DISTRIB}/lib/gimp/2.99/plug-ins/*/*.exe; do
-        python3 build/windows/gitlab-ci/dll_link.py $dll ${GIMP_PREFIX}/ ${GIMP_DISTRIB};
-      done
-  needs: ["gimp-win32", "deps-win64"]
-
 flatpak-nightly:
   extends: '.publish_nightly'
   stage: distribution


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