[gexiv2/wip/phako/win-ci] ci: Try to enable windows ci




commit c4eed915eb2cf99874c7e3ebf67a3759db0c79da
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 5 08:19:26 2021 +0200

    ci: Try to enable windows ci

 .gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52e92a9..9afae10 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,8 @@ check-merge-request:
       paths:
           - build
 
+
+
 .gexiv2.fedora@common:
   variables:
     BASE_TAG: '2021-05-24.0'
@@ -126,6 +128,38 @@ build-fedora@x86_64:
         - build-fedora-container@x86_64
     <<: *build
 
+build-msys2-mingw64@x86_64:
+  only:
+    - branches
+  stage: build
+  needs: []
+  tags:
+    - win32-ps
+  variables:
+    CHERE_INVOKING: "yes"
+  script:
+    - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
+    - C:\msys64\usr\bin\pacman --noconfirm -Suy
+    - C:\mysy64\usr\bin\pacman --noconfirm -S --needed
+      base-devel
+      mingw-w64-x86_64-toolchain
+      mingw-w64-x86_64-gcc
+      mingw-w64-x86_64-gobject-introspection
+      mingw-w64-x86_64-gtk-doc
+      mingw-w64-x86_64-meson
+      mingw-w64-x86_64-ninja
+      mingw-w64-x86_64-python-gobject
+      mingw-w64-x86_64-vala
+    - meson --buildtype debug build
+    - cd build
+    - ninja
+    - meson test
+  artifacts:
+    name: "${env:CI_JOB_NAME}-${env:CI_COMMIT_REF_NAME}"
+    when: always
+    paths:
+      - "${CI_PROJECT_DIR}/build/meson-logs"
+
 
 .test-template: &test
   stage: test


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