[wing] ci: cross-compile on Fedora using MinGW
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] ci: cross-compile on Fedora using MinGW
- Date: Thu, 26 Mar 2020 08:05:02 +0000 (UTC)
commit 56dc3597f51817bd1bb87b5ab114eed6c646cb5f
Author: Jakub Janků <jjanku redhat com>
Date: Wed Mar 25 15:06:08 2020 +0100
ci: cross-compile on Fedora using MinGW
Signed-off-by: Jakub Janků <jjanku redhat com>
.gitlab-ci.yml | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25c776f..318f795 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,15 @@
-image: registry.gitlab.gnome.org/gnome/glib/master:v6
-
stages:
- build
-cache:
- paths:
- - _ccache/
-
variables:
MESON_TEST_TIMEOUT_MULTIPLIER: 2
+ DEPS_MINGW: gcc meson mingw64-gcc mingw64-pkg-config mingw64-glib2
vs2017-x64:
+ image: registry.gitlab.gnome.org/gnome/glib/master:v6
+ cache:
+ paths:
+ - _ccache/
stage: build
except:
- tags
@@ -23,3 +22,18 @@ vs2017-x64:
when: always
paths:
- _build/meson-logs
+
+mingw-x64:
+ image: fedora:latest
+ stage: build
+ before_script:
+ - dnf install -y $DEPS_MINGW
+ script:
+ - mkdir _build-mingw64 && cd _build-mingw64
+ - mingw64-meson
+ - ninja
+ artifacts:
+ paths:
+ - _build-mingw64/meson-logs
+ when: always
+ expire_in: 1 week
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]