drogon icon indicating copy to clipboard operation
drogon copied to clipboard

Add build and test powershell script in Windows which runs without WSL

Open hks2002 opened this issue 3 years ago • 3 comments

hks2002 avatar Feb 28 '22 06:02 hks2002

@hks2002 Thanks for the PR. May you explain the use case of it? Currently the maintainers run the scripts on CI which can handle bash scripts. Let us know if you are having trouble doing local testing and needs this PR to test stuff.

marty1885 avatar Mar 03 '22 13:03 marty1885

Using these scripts, user can build/install or test the source by powershell command line quickly. the user just need install Visual Studio and conan package manager, he doesn't need to install WSL environment.

It's easy and convenient for the windows programmer. If some windows programmers have interest in Drogon project, he can be an beginer of Drogon very quickly.

Please wait before merge this PR, I need do some tests more. Thanks!

hks2002 avatar Mar 04 '22 08:03 hks2002

@marty1885 Do you kown an easy way to change compiler from gcc to visual studio and change it back? The WSL using gcc default, as you known, the test need build the drogon_test project so how to using visual studio compiler when test in bash. I have these promblem. Thanks.

hks2002 avatar Mar 04 '22 09:03 hks2002