[gimp/wip/Jehan/gitlab-ci-win-32-bit: 1/7] Testing!




commit 116b1298374ed28380107166bf7536606bbf50e8
Author: Jehan <jehan girinstud io>
Date:   Tue May 11 19:51:33 2021 +0200

    Testing!

 .gitlab-ci.yml                                  | 18 +++++++++++++++++-
 build/windows/gitlab-ci/test-innosetup-msys2.sh |  4 ++++
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 973c95d950..34c9c338b0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,6 +78,23 @@ build-image-win32:
 
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination 
$CI_REGISTRY_IMAGE:build-win32-latest --cache=true --cache-ttl=120h
 
+test-innosetup:
+  variables:
+    CHERE_INVOKING: "yes"
+  tags:
+    - win32-ps
+  stage: prepare
+  artifacts:
+    name: "${CI_JOB_NAME}-${CI_COMMIT_REF_SLUG}"
+    when: always
+    expire_in: 2 days
+    paths:
+    - build/windows/installer/_Output
+    - is.exe
+    - innosetup.log
+  script:
+    - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
+    - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/test-innosetup-msys2.sh"
 
 ## GNU/Linux 64-bit CIs (Debian testing) ##
 
@@ -460,7 +477,6 @@ win-installer-nightly:
     - C:\msys64\usr\bin\bash -lc "MSYSTEM=MINGW64 bash -x ./build/windows/gitlab-ci/package-gimp-msys2.sh"
     - C:\msys64\usr\bin\bash -lc "MSYSTEM=MINGW32 bash -x ./build/windows/gitlab-ci/package-gimp-msys2.sh"
     - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/installer-gimp-msys2.sh"
-
   needs: ["gimp-win32-native", "gimp-win64-native"]
 
 sources:
diff --git a/build/windows/gitlab-ci/test-innosetup-msys2.sh b/build/windows/gitlab-ci/test-innosetup-msys2.sh
new file mode 100644
index 0000000000..ba83b45f4f
--- /dev/null
+++ b/build/windows/gitlab-ci/test-innosetup-msys2.sh
@@ -0,0 +1,4 @@
+wget https://jrsoftware.org/download.php/is.exe
+./is.exe //SILENT //SUPPRESSMSGBOXES //CURRENTUSER //SP- //LOG="innosetup.log"
+cd build/windows/installer
+./compile.bat 2.99.6 ../../.. gimp-w32 gimp-w64 ../../.. gimp-w32 gimp-w64


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