mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Merge branch 'test-hurd-ci' into 'main'
Initial test of Hurd CI - (run_tests.sh status ignored) Closes #3135 See merge request GNOME/glib!3631
This commit is contained in:
commit
4ba42dc564
@ -180,6 +180,37 @@ debian-stable-x86_64:
|
|||||||
- "_build/glib/glibconfig.h"
|
- "_build/glib/glibconfig.h"
|
||||||
- "_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
|
|
||||||
|
hurd-i386:
|
||||||
|
extends:
|
||||||
|
- .build-linux
|
||||||
|
- .only-schedules
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- hurd
|
||||||
|
needs: []
|
||||||
|
script:
|
||||||
|
- meson setup ${MESON_COMMON_OPTIONS}
|
||||||
|
--werror
|
||||||
|
--default-library=both
|
||||||
|
--prefix=$HOME/glib-installed
|
||||||
|
--localstatedir=/var
|
||||||
|
--libdir=lib
|
||||||
|
_build
|
||||||
|
- meson compile -C _build
|
||||||
|
- .gitlab-ci/run-tests.sh
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
junit:
|
||||||
|
- _build/meson-logs/testlog.junit.xml
|
||||||
|
- _build/meson-logs/testlog-*.junit.xml
|
||||||
|
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
|
expire_in: 1 week
|
||||||
|
paths:
|
||||||
|
- "_build/config.h"
|
||||||
|
- "_build/glib/glibconfig.h"
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
installed-tests:
|
installed-tests:
|
||||||
extends:
|
extends:
|
||||||
- .build-linux
|
- .build-linux
|
||||||
|
@ -51,7 +51,8 @@ gio_tests = {
|
|||||||
'application-command-line': {},
|
'application-command-line': {},
|
||||||
'appmonitor' : {
|
'appmonitor' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'can_fail' : host_system == 'darwin',
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system in ['darwin', 'gnu'],
|
||||||
},
|
},
|
||||||
'async-close-output-stream' : {},
|
'async-close-output-stream' : {},
|
||||||
'async-splice-output-stream' : {},
|
'async-splice-output-stream' : {},
|
||||||
@ -81,7 +82,8 @@ gio_tests = {
|
|||||||
'g-file' : {},
|
'g-file' : {},
|
||||||
'g-file-info' : {
|
'g-file-info' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3070
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3070
|
||||||
'can_fail' : host_system == 'darwin' or host_system == 'windows' and cc.get_id() != 'gcc',
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system in ['darwin', 'gnu'] or host_system == 'windows' and cc.get_id() != 'gcc',
|
||||||
},
|
},
|
||||||
'g-icon' : {},
|
'g-icon' : {},
|
||||||
'gdbus-addresses' : {},
|
'gdbus-addresses' : {},
|
||||||
@ -90,7 +92,8 @@ gio_tests = {
|
|||||||
'dependencies' : [libgdbus_example_objectmanager_dep],
|
'dependencies' : [libgdbus_example_objectmanager_dep],
|
||||||
'install_rpath' : installed_tests_execdir,
|
'install_rpath' : installed_tests_execdir,
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'can_fail' : host_system in ['darwin', 'windows'],
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system in ['darwin', 'windows', 'gnu'],
|
||||||
},
|
},
|
||||||
'inet-address' : {},
|
'inet-address' : {},
|
||||||
'io-stream' : {},
|
'io-stream' : {},
|
||||||
@ -118,7 +121,8 @@ gio_tests = {
|
|||||||
'sleepy-stream' : {},
|
'sleepy-stream' : {},
|
||||||
'socket' : {
|
'socket' : {
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'can_fail' : host_system == 'darwin',
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system in ['darwin', 'gnu'],
|
||||||
},
|
},
|
||||||
'socket-listener' : {},
|
'socket-listener' : {},
|
||||||
'socket-service' : {},
|
'socket-service' : {},
|
||||||
@ -137,7 +141,8 @@ gio_tests = {
|
|||||||
'gdbus-address-get-session' : {
|
'gdbus-address-get-session' : {
|
||||||
'extra_programs': host_system != 'windows' ? ['dbus-launch'] : [],
|
'extra_programs': host_system != 'windows' ? ['dbus-launch'] : [],
|
||||||
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
|
||||||
'can_fail' : host_system == 'darwin',
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system in ['darwin', 'gnu'],
|
||||||
},
|
},
|
||||||
'win32-appinfo' : {},
|
'win32-appinfo' : {},
|
||||||
}
|
}
|
||||||
@ -232,7 +237,10 @@ endif
|
|||||||
# Test programs buildable on UNIX only
|
# Test programs buildable on UNIX only
|
||||||
if host_machine.system() != 'windows'
|
if host_machine.system() != 'windows'
|
||||||
gio_tests += {
|
gio_tests += {
|
||||||
'file' : {},
|
'file' : {
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
|
},
|
||||||
'gdbus-peer-object-manager' : {},
|
'gdbus-peer-object-manager' : {},
|
||||||
'gdbus-sasl' : {},
|
'gdbus-sasl' : {},
|
||||||
'live-g-file' : {},
|
'live-g-file' : {},
|
||||||
@ -277,7 +285,10 @@ if host_machine.system() != 'windows'
|
|||||||
},
|
},
|
||||||
'resolver-parsing' : {'dependencies' : [network_libs]},
|
'resolver-parsing' : {'dependencies' : [network_libs]},
|
||||||
'socket-address' : {},
|
'socket-address' : {},
|
||||||
'stream-rw_all' : {},
|
'stream-rw_all' : {
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
|
},
|
||||||
'unix-mounts' : {},
|
'unix-mounts' : {},
|
||||||
'unix-streams' : {},
|
'unix-streams' : {},
|
||||||
'g-file-info-filesystem-readonly' : {},
|
'g-file-info-filesystem-readonly' : {},
|
||||||
@ -319,11 +330,15 @@ if host_machine.system() != 'windows'
|
|||||||
'appinfo' : {
|
'appinfo' : {
|
||||||
'install' : false,
|
'install' : false,
|
||||||
'extra_programs' : ['appinfo-test'],
|
'extra_programs' : ['appinfo-test'],
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
},
|
},
|
||||||
'desktop-app-info' : {
|
'desktop-app-info' : {
|
||||||
'install' : false,
|
'install' : false,
|
||||||
'depends' : gio_launch_desktop,
|
'depends' : gio_launch_desktop,
|
||||||
'extra_programs' : ['apps', 'appinfo-test'],
|
'extra_programs' : ['apps', 'appinfo-test'],
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
endif
|
endif
|
||||||
@ -454,6 +469,8 @@ if host_machine.system() != 'windows'
|
|||||||
'gdbus-proxy-threads' : {
|
'gdbus-proxy-threads' : {
|
||||||
'extra_sources' : extra_sources,
|
'extra_sources' : extra_sources,
|
||||||
'dependencies' : [dbus1_dep],
|
'dependencies' : [dbus1_dep],
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
},
|
},
|
||||||
'gdbus-proxy-unique-name' : {
|
'gdbus-proxy-unique-name' : {
|
||||||
'extra_sources' : extra_sources,
|
'extra_sources' : extra_sources,
|
||||||
@ -556,6 +573,8 @@ if host_machine.system() != 'windows'
|
|||||||
'-DTEST_LOCALE_PATH="@0@"'.format(test_mo_dir)],
|
'-DTEST_LOCALE_PATH="@0@"'.format(test_mo_dir)],
|
||||||
'install' : false,
|
'install' : false,
|
||||||
'depends' : glib_compile_schemas,
|
'depends' : glib_compile_schemas,
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
gobject_tests = {
|
gobject_tests = {
|
||||||
'performance' : { 'args' : [ '--seconds', '0' ] },
|
'performance' : {
|
||||||
|
'args' : [ '--seconds', '0' ],
|
||||||
|
# FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
|
||||||
|
'can_fail' : host_system == 'gnu',
|
||||||
|
},
|
||||||
'performance-threaded' : { 'args' : [ '--seconds', '0' ] },
|
'performance-threaded' : { 'args' : [ '--seconds', '0' ] },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user