mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
CI: Add a 32-bit Visual Studio 2019 config
This way, we can continue to test whether 32-bit builds continue to work with Visual Studio builds. Note that this uses the x64-to-x86 cross compiler.
This commit is contained in:
parent
0f0d5df4e5
commit
c4799982d6
@ -654,6 +654,42 @@ vs2019-x64-static:
|
||||
paths:
|
||||
- _build/meson-logs
|
||||
|
||||
vs2019-x86:
|
||||
extends: .only-default
|
||||
stage: build
|
||||
tags:
|
||||
- win32-ps
|
||||
needs: []
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
GIT_SUBMODULE_DEPTH: 1
|
||||
PYTHONUTF8: "1"
|
||||
script:
|
||||
# FIXME: These should use --wrap-mode=nodownload but the Windows CI machines
|
||||
# aren’t currently set up for that.
|
||||
# FIXME: Use --meson-fatal-warnings once we've enabled c_std=gnu99,c99
|
||||
# for the runner's Meson version.
|
||||
- .gitlab-ci/test-msvc.bat --buildtype debug
|
||||
--wrap-mode=default
|
||||
--python.platlibdir=C:\Python37\site-packages
|
||||
--python.purelibdir=C:\Python37\site-packages
|
||||
--plat=x64_x86
|
||||
artifacts:
|
||||
reports:
|
||||
junit:
|
||||
- _build/meson-logs/testlog.junit.xml
|
||||
- _build/meson-logs/testlog-*.junit.xml
|
||||
name: "glib-${env:CI_JOB_NAME}-${env:CI_COMMIT_REF_NAME}"
|
||||
when: always
|
||||
expire_in: 1 week
|
||||
paths:
|
||||
- _build/meson-logs
|
||||
- _build/glib/libglib-2.0-0.dll
|
||||
- _build/gio/libgio-2.0-0.dll
|
||||
- _build/gmodule/libgmodule-2.0-0.dll
|
||||
- _build/gthread/libgthread-2.0-0.dll
|
||||
- _build/gobject/libgobject-2.0-0.dll
|
||||
|
||||
freebsd-13-x86_64:
|
||||
extends: .only-schedules-or-manual
|
||||
stage: build
|
||||
|
@ -8,7 +8,7 @@ set stash_plat=0
|
||||
for %%x in (%*) do (
|
||||
if "%%x" == "--plat" set stash_plat=1
|
||||
if "!stash_plat!" == "0" set args=!args! %%~x
|
||||
if "!stash_plat!" == "1" if /i not "%%x" == "--plat" set plat=%%x & set stash_plat=0
|
||||
if "!stash_plat!" == "1" if /i not "%%x" == "--plat" (set plat=%%x) & (set stash_plat=0)
|
||||
)
|
||||
set args=%args:~1%
|
||||
if "!plat!" == "" set plat=x64
|
||||
|
Loading…
Reference in New Issue
Block a user