Opened 4 years ago

Last modified 3 months ago

#25980 needs_review task

GitLab CI for Windows & OSX — at Initial Version

Reported by: Julian Rüth Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords: osx, windows, ContinuousIntegration
Cc: Erik Bray, Samuel Lelièvre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Developers currently don't have an easy way to test proposed changes on OSX & Windows if they do not have access to such machines themselves. Given the flakiness of the patchbot on Windows, it would be nice to provision GitLab CI infrastructure for these systems.

We can not use the docker setup unfortunately, as docker on Windows is not ready to run fork-heavy workloads (#25805) and docker on OSX does simply not exist.

The current idea would be to provide SSH runners on Linux machines tagged as osx & nt that run QEMU/KVM. An incoming CI request would then take an LVM snapshot of an existing Windows/OSX machine, start a QEMU/KVM machine on it, and run its CI via SSH.

CI on the "develop" branch would probably start from a clean OS snapshot and rename the resulting LVM volume to "develop" so the build artifacts can be reused by runs on other branches.

Note that for legal reasons the OSX CI would have to run on Apple hardware. I am not sure if we need official Windows licenses for the Windows CI or whether we could use Windows trials for this. In any case, normal Windows 10 licenses would be good enough.

Change History (0)

Note: See TracTickets for help on using tickets.