summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-04-23 17:59:29 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2021-04-24 19:43:00 +0100
commitd3933a24d1abdcb56f45e6076cb84a1110674a8a (patch)
tree39ab03c3dbda1c48e3267017da084dfe943b9f09 /.gitlab-ci.yml
parent7e142cb2a848acb6af986fa91d254d4c23963b24 (diff)
CI: Add an x86 MinGW-w64 cross build
Only cross-build for x86 MinGW-w64, as x64 MinGW-w64 will probably require fixing LLP64 issues. I don't know any source for pre-built cross-dependencies of the X server, so build these from git. Don't build with GLX enabled, so I don't have to deal with cross-building mesa and it's dependencies, for the moment.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 35d347411..75b2aed31 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ variables:
UPSTREAM_REPO: xorg/xserver
FDO_DISTRIBUTION_VERSION: buster-slim
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/debian-install.sh'
- FDO_DISTRIBUTION_TAG: "2021-01-19-git"
+ FDO_DISTRIBUTION_TAG: "2021-04-06"
include:
- project: 'freedesktop/ci-templates'
@@ -83,3 +83,9 @@ meson-noglamor:
variables:
MESON_EXTRA_OPTIONS: >
-Dglamor=false
+
+mingw-cross-build:
+ extends: .common-build-and-test
+ script:
+ - meson --cross-file=.gitlab-ci/cross-i686-w64-mingw32.txt -Dglx=false -Dsecure-rpc=false -Dlisten_tcp=true build/
+ - ninja -j${FDO_CI_CONCURRENT:-4} -C build/ install