Need help to run locally druntime CI tests on Windows

Seb seb at wilzba.ch
Tue Apr 7 08:48:52 UTC 2020


On Monday, 6 April 2020 at 06:29:32 UTC, Denis Feklushkin wrote:
> Hi!
>
> I have not touched Windows for a very long time. For about a 
> month I’ve been trying to start CI testing of druntime locally 
> but nothing works for me.
>
> Currently I tried:
>
> https://github.com/joaope/LocalAppVeyor - isn't works because 
> CI script uses (proprietary?) "Start-FileDownload"
>
> Build by wiki instructions. It contains step:
> - Building DMD
> You should be able to build DMD using the visual studio 
> solution found in: dmd\src\vcbuild A typical choice is to build 
> the 64-bit debug version (the VisualD options are named 
> 'Release' and 'x64').
>
> VS 2017 (used in AppVeyor script) says what current dmd project 
> isn't compatible with VS 2017

Did you try it locally?

> I don’t know what to do next.
>
> I develop under Linux, so only tests are important.

Have a look at what the CI scripts are doing and don't bail on 
File-Download as that's only required to download the required 
tools once.

Start having a look either here:

https://github.com/dlang/dmd/blob/master/.azure-pipelines/windows.sh

Or if you want to use Visual Studio:

https://github.com/dlang/dmd/blob/master/.azure-pipelines/windows-msbuild.bat

Building DMD should be very easy. You can either use the VS 
Studio solution or call run.d yourself.
For druntime, it then really just bails down to calling make with 
the right parameters (n.b. the DigitalMars Make that everyone 
dislikes for very good reasons, but that's a different story).

Also, the CI tools test a lot more than you need, so I would only 
focus on exactly the part which you need.


More information about the Digitalmars-d mailing list