vehicle icon indicating copy to clipboard operation
vehicle copied to clipboard

Test building & running on bare Docker images of macOS & Windows

Open wenkokke opened this issue 3 years ago • 4 comments

The GitHub runners come with a lot of preinstalled software, so running tests in them doesn’t necessarily verify build instructuins for our end-users. We could test building on a bare Docker image of macOS & Windows. I believe at least Microsoft makes these available, license-free.

@Yiergot Would you know how to do this?

I guess we just make a Dockerfile & pull in the correct starting images?

wenkokke avatar Nov 07 '22 12:11 wenkokke

Theoretically docker can be integrated in the CI, although I have never used a windows nor macOS docker, are these even being supported?

Yiergot avatar Nov 07 '22 13:11 Yiergot

I'd suggest just offline first, before pushing that into CI.

Anyway: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

wenkokke avatar Nov 07 '22 13:11 wenkokke

Windows requires the setup of WLS to run vehicle, I dare say we cannot dockerize that.... (I'll have a check)

Yiergot avatar Nov 07 '22 13:11 Yiergot

Does it? I think both Git and GHCup ship with their own copies of MSYS, which I think would suffice to run Vehicle.

wenkokke avatar Nov 07 '22 15:11 wenkokke