perun icon indicating copy to clipboard operation
perun copied to clipboard

Cross-platform Integration Tests (includes Windows CI pipeline)

Open morfeush22 opened this issue 7 years ago • 4 comments

It seems that Travis CI support for Windows build pipelines is still in beta and immature. After some research, I found tool that might be handy and it's free for OSS:

https://www.appveyor.com/

morfeush22 avatar Nov 06 '17 12:11 morfeush22

@morfeush22 @pfigwer Have we tried to build it on Travis CI? Have we tried to build it locally on Windows? :wink:

My idea would be to build it on osx, linux - and as a nice to have windows - it the last thing works out of the box with Travis CI, let's support also configuration structure on Windows. If not - let's skip it for 1.0.

afronski avatar Nov 07 '17 09:11 afronski

@morfeush22 Go supports cross compilation, so you don't need to build a separate pipeline for windows. We can produce few binaries in one build.

http://golangcookbook.com/chapters/running/cross-compiling/

pfigwer avatar Nov 07 '17 12:11 pfigwer

In that case I'd skip windows build for 1.0 and we will have cross-platform tests later on (e.g. 2.0). Let's figure out how to map current configuration to the Windows subsystem (what is the desired and recommended way of doing it) - but let's tackle it as a different issue - #5.

afronski avatar Nov 07 '17 12:11 afronski

@afronski @pfigwer I'm putting work already done in windows_integration branch.

morfeush22 avatar Nov 07 '17 13:11 morfeush22