crystal-lang / shards

Dependency manager for the Crystal language
Other
764 stars 100 forks source link

MinGW-w64 / MSYS2 support #650

Open HertzDevil opened 2 days ago

HertzDevil commented 2 days ago

As part of crystal-lang/crystal#6170, it makes sense to test Shards on MSYS2 and package Shards for it as well. The bad news is that all the resolvers are problematic on MSYS2:

Everything else seems to work fine.

straight-shoota commented 2 days ago

I understand these issues are predominantly for setting up CI testing on MSYS2? It's not so much a problem for using it?

HertzDevil commented 2 days ago

It affects the check step within a PKGBUILD file too, since tests running on MSYS2's own CI naturally depend only on other MSYS2 packages. Basically we have to add skip_fossil=1 skip_hg=1 to make test; perhaps we could add a special case for hg when $MSYSTEM is defined, but I don't know if that is worth the effort (even as a patch exclusive to the MSYS2 package repository).

ysbaddaden commented 2 days ago

I assume the same issues will arise for normal usages too.