Re: GitLab CI runners for non-Linux systems

From: xclaesse gmail com

To: philip tecnocode co uk, desktop-devel-list <desktop-devel-list gnome org>, gtk-devel-list <gtk-devel-list gnome org>

Subject: Re: GitLab CI runners for non-Linux systems

Date: Mon, 28 May 2018 12:09:40 -0400

Hi, We now have 6 arch tested for glib, all with Meson. - fedora-meson-x86_64: * Native Linux * Builds with --werror * All unit tests pass - fedora-meson-android_ndk_r16_api21_arm64 * Cross build for Android * Fails to build with --werror, if anyone wants to take a look. * Cannot run tests because it's cross built - fedora-meson-mingw64 * Cross build for Windows 64 bits * Fails to build with --werror, if anyone wants to take a look. * Cannot run tests because it's cross built, maybe could run with wine when Meson supports it: https://github.com/mesonbuild/meson/pull/3 621 - macosx-10.13-meson-x86_64 * Native macosx 10.13 build * Fails to build with --werror, if anyone wants to take a look. * Some unit tests fails and are ignored, if anyone wants to take a look. * Machine currently hosted at Collabora Montreal office, will setup another runner on another machine we have in a proper data center. - msys2-mingw32 * Native Windows i686 (I think) build with MSYS2 * Build with --werror * Some unit tests fails and are ignored, if anyone wants to take a look. * Virtual Machine hosted by Christoph Reiter. - vs2017-x64 * Native Windows w64 build with MSVC (yes! thanks meson!) * Fails to build with --werror, if anyone wants to take a look. * Some unit tests fails and are ignored, if anyone wants to take a look. * Virtual Machine hosted by Christoph Reiter. Shared for both msys2 and MSVC builds, maybe will need to clone the VM if it's the bottleneck. Missing, if someone wants to contribute: - Some autotools runners? IMHO (I'm not maintainer) we should recommend meson for 2.58 and drop autotools for 2.60. - Some 32 bits archs? - More macosx/android/windows/distros versions? - *BSD - Solaris - cygwin Regards, Xavier Claessens. Le vendredi 18 mai 2018 à 10:52 +0100, Philip Withnall a écrit :

Hi all, tl;dr: Want to provide us with a GitLab CI runner for a non-Linux platform? There’s been a surge of interest recently, from various directions, in getting GLib better tested on non-Linux architectures. This is great, and we’ve got various people to thank for doing the thankless work of porting and testing. Particularly: • macOS: Ryan Schmidt, Patrick Griffis, Michael Lauer, John Ralls • Windows/MinGW/MSYS2: LRN, Christoph Reiter, Xavier Claessens, Chun- wei Fan • Android: Xavier Claessens • *BSD: Ting-Wei Lan There’s a real risk of this all bitrotting, though, since the main GLib developers only have regular access to Linux machines (and don’t have the bandwidth or expertise to regularly test on other architectures). The solution here is CI. Christoph Reiter has already got a Windows MSYS2 CI runner set up on GitLab[1], which is producing helpful results for GLib. Can anybody else provide and maintain CI runners for other platforms? I’d particularly like to see: • *BSD (probably OpenBSD and NetBSD) • macOS (ideally several versions, since we support from OS X 10.7 upwards[2]) • Android (probably a cross-build) • More Windows configurations (currently we have MSYS2 on Windows Server 2012; ideally we’d have a MinGW-w64 runner too) After the initial setup and porting work, I hope these wouldn’t require much effort to maintain. The fast turnaround on testing GLib on non- Linux platforms would help us ensure cross-platform compatibility during development. Thanks, Philip [1]: https://gitlab.gnome.org/creiter/gitlab-ci-win32-runner [2]: https://wiki.gnome.org/Projects/GLib/SupportedPlatforms _______________________________________________ gtk-devel-list mailing list gtk-devel-list gnome org https://mail.gnome.org/mailman/listinfo/gtk-devel-list