[babl/wip/Jehan/Win-build] gitlab-ci: add a Windows 64-bit build in CI.



commit ebad4ffee4257f0834b421f1008dee72092bde24
Author: Jehan <jehan girinstud io>
Date:   Thu May 28 14:36:59 2020 +0200

    gitlab-ci: add a Windows 64-bit build in CI.

 .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f98bb7b71..a9bff06ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,3 +47,40 @@ latest-nolcms:
   variables:
     EXTRA_OPTIONS : "-Dwith-lcms=false"
     EXTRA_PKGS: ""
+
+win64:
+  image: debian:testing
+  stage: build
+  artifacts:
+    when: always
+    paths:
+      - _build/meson-logs
+  variables:
+    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache/"
+    XDG_DATA_HOME:  "$CI_PROJECT_DIR/.local/share/"
+  cache:
+    paths:
+    - .cache/crossroad/
+  before_script:
+    - apt-get update
+    - apt-get install -y --no-install-recommends
+        apt-utils
+    - apt-get install -y --no-install-recommends
+        build-essential
+        cpio
+        gcc-mingw-w64-x86-64
+        g++-mingw-w64-x86-64
+        git
+        meson
+        pkg-config
+        python3-distutils
+        python3-docutils
+        python3-pip
+        rpm
+    - apt-get install -y --reinstall ca-certificates
+    - git clone --depth=1 git://git.tuxfamily.org/gitroot/crossroad/crossroad.git
+    - cd crossroad && ./setup.py install --prefix=`pwd`/../.local && cd ..
+    - pip3 install zstandard
+  script:
+    - mkdir _build && cd _build
+    - echo 'crossroad meson .. && ninja' | crossroad w64 gimp --run="-"


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