Zig: [Azure]: Windows CI seems broken (msvc and mingw)

Created on 23 Jun 2020  路  5Comments  路  Source: ziglang/zig

See latest PRs such as: #5678, #5673, or #5677.

It seems that there is some conflict when upgrading packages that causes the entire job to error out:

:: Synchronizing package databases...
downloading mingw32.db...
downloading mingw32.db.sig...
downloading mingw64.db...
downloading mingw64.db.sig...
downloading msys.db...
downloading msys.db.sig...
:: Starting core system upgrade...
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing filesystem (2020.02-3) breaks dependency 'msys2-base' required by dash

Most helpful comment

aside from using the one-click installer, have you looked at using github actions? they have runners for macos, linux, windows, and arm, support caching of artifacts, and the windows runners come with msys2 installed by default. i think (not sure) that the windows runners also come with llvm compiled for msvc as well.

All 5 comments

@emekoi it looks like the repo that we depend on for this is now deprecated. Do you happen to know how to upgrade?

https://github.com/ziglang/zig/blob/0de35af98b3404f0cf7cd9497f661239d197bbbf/ci/azure/pipelines.yml#L44-L47

aside from using the one-click installer, have you looked at using github actions? they have runners for macos, linux, windows, and arm, support caching of artifacts, and the windows runners come with msys2 installed by default. i think (not sure) that the windows runners also come with llvm compiled for msvc as well.

I'm also partial to moving away from Azure CI and to Github Actions like @emekoi suggested, and would be happy to help in setting it up if that's the way we want to go.

I'd be fine with moving from Azure to GitHub actions, although it's not a personal priority for me to work on. The only potential problem is that we currently rely on pretty hefty resource usage, in terms of both time and memory, that Azure gives us. It wouldn't be worth it if we had to disable a bunch of tests.

Anyway if someone wants to take the lead and make this happen, go for it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewrk picture andrewrk  路  3Comments

andrewrk picture andrewrk  路  3Comments

bheads picture bheads  路  3Comments

zimmi picture zimmi  路  3Comments

andrewrk picture andrewrk  路  3Comments