[phodav] .gitlab-ci: add MSI build
- From: Marc-André Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav] .gitlab-ci: add MSI build
- Date: Tue, 26 Feb 2019 17:59:55 +0000 (UTC)
commit c02f2ded4900c19a2382409fa8ee94568fbfe361
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Tue Feb 26 17:52:59 2019 +0100
.gitlab-ci: add MSI build
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
.gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++--
NEWS | 1 +
meson.build | 2 +-
3 files changed, 33 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ca9ad1d..4726525 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,11 +14,40 @@ variables:
systemd-units
xmlto
-build_stable:
+ WIN_DEPENDENCIES:
+ dos2unix
+ gcc
+ gcc-c++
+ gettext
+ git
+ meson
+ mingw32-libsoup
+ mingw64-libsoup
+ mingw32-readline
+ mingw64-readline
+ msitools
+
+build:
before_script:
- - rm -f /etc/rpm/macros.image-language-conf
- dnf update -y --nogpgcheck
- dnf install -y --nogpgcheck $DEPENDENCIES
script:
- meson build
- ninja -C build dist
+
+build_win:
+ before_script:
+ - rm -f /etc/rpm/macros.image-language-conf
+ - dnf update -y --nogpgcheck
+ - dnf install -y --nogpgcheck $WIN_DEPENDENCIES
+ script:
+ - mkdir w32 && cd w32 && mingw32-meson -Dgtk_doc=disabled && ninja && sh -x ./make-msi.sh
+ - pwd
+ - ls
+ - cd ..
+ - mkdir w64 && cd w64 && mingw64-meson -Dgtk_doc=disabled && ninja && sh -x ./make-msi.sh
+ artifacts:
+ paths:
+ - w32/*.msi
+ - w64/*.msi
+ expire_in: 1 week
diff --git a/NEWS b/NEWS
index e4d1339..be11555 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ v2.3
- replace autotools with meson
- spice-webdavd: switch to GTask
- chezdav: add --local & --public to specify interfaces to listen on
+- translations updates
v2.2
====
diff --git a/meson.build b/meson.build
index 72237e1..1b7fa2f 100644
--- a/meson.build
+++ b/meson.build
@@ -87,7 +87,7 @@ else
endif
wixl_arch = 'x86'
-if build_machine.cpu_family() == 'x86_64'
+if host_machine.cpu_family() == 'x86_64'
wixl_arch = 'x64'
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]