rust-lang / crates-build-env

Build environment for third-party Rust crates
MIT License
69 stars 89 forks source link

Use Azure Pipelines for Windows instead of AppVeyor #10

Closed ecstatic-morse closed 5 years ago

ecstatic-morse commented 5 years ago

The newest available AppVeyor host runs Windows Server 2016. Since the Windows version in a container cannot be greater than that of the host, this requires that the Windows version of the published image also be Server 2016. However, we would like to run crater using process isolation, which on Server 2016 requires that the revision number of the host and container must also match. This requires that the Windows version on AppVeyor exactly matches the Windows version of a hypothetical crater agent. It's tough to find a correct image in the first place, and the revision number of the Windows used by AppVeyor may change unexpectedly.

Instead, we want an image based on Windows 1803 or later, which removes the matching revision numbers constraint. Such machines are currently available via Azure Pipelines.

See the commit message for set-up instructions. @pietroalbini will likely want to improve this before it is merged, since they just set up Azure Pipelines on rustc proper, while this is my first go at it.

ecstatic-morse commented 5 years ago

I made the requested changes.