-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AppVeyor CI script #311
Conversation
Looks like some version bounds need updating. I'll wait for the rest to finish first. |
Bumping |
@Mistuke Thank you for this PR. Let me ask a question to understand the background. |
@kazu-yamamoto Well, simply because stack doesn't make it easy to test multiple ghc versions, you have to install either another stack or change configuration. The simplest way to test all GHCs that network claims to has been tested with is to use Secondly, stack being a facade hides a lot of things. In this case it's been hiding the fact that the Thirdly stack install is way slower, not only do you need stack, ghc, the installation also installs msys2, which is already provided by default by AppVeyor. So stack is just duplicating efforts here. And lastly, Windows seems to be the only place where stack is used, the yaml file already uses cabal. I want the two to be the same, and test all relevant GHC versions. Historically |
It's ironic that's the original script that this PR is trying to erase (*1), is actually testing 3 differents GHC versions with a hard 1 line per version. you're right about the facade though, stack actually made things easy for user trying to compile network on windows. cabal made no effort trying to solve the issue of configured based script indeed. *1 in a non-subtle effort to move everything to new-build which is still not the default of cabal. |
I'm not going to start a stack vs cabal debate here. The fact is, network hasn't been testing all 6 supported ghc versions. if it was, it would have caught the build error of HUnit with GHC 6.4.3. I'm not subtly trying to do anything. I'm more than happy for this not to get merged in if it's so controversial. Consider it rescinded. |
well, the tip for not starting a debate, is to not actually trying to start one by adding fallacious arguments of why "stack is crap" with your personal bias. personally I think if at to |
@Mistuke Can |
Ping @Mistuke just in case you missed my comment. |
Import from "Update AppVeyor CI script haskell#311" to 2.6 branch. Credit: @Mistuke.
To understand #313, I have merged this. |
Import from "Update AppVeyor CI script haskell#311" to 2.6 branch. Credit: @Mistuke.
This cleans up the script a bit and brings it more inline with what we test on Travis.
And adds matrix builds for Windows to cover all the GHC's that network supports.