-
Notifications
You must be signed in to change notification settings - Fork 136
appveyor windows CI #108
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
appveyor windows CI #108
Conversation
It was broken because Windoze doesn't recognize any signal except of "KILL" see Probably this is M$ "feature" ;/ |
Ok, I've cleaned up this PR, both CI are green, now only thing left is cucumber-tck changes. |
Tried it on Windows 10 + VS 2015. I get "C:\Libraries\boost_1_60_0\boost/config/auto_link.hpp(365): fatal error C1189: #error: "Mixing a dll boost library with a static runtime is a really bad idea..." |
|
||
(Get-Content $path) -replace '\ST\DERR.puts %', '#nope' | Set-Content $path | ||
(Get-Content $path) -replace ' Cucumber::', '#nope' | Set-Content $path | ||
(Get-Content $path) -replace '^Cucumber::', '#nope' | Set-Content $path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to fix a problem in Cucumber 2.0.0... is it a documented problem? Can you post a link? Does it happen with Ruby 2.2 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more of a problem of how appveyor is implemented, i.e. it doesn't need any additional library to get colored output - just like on *nix - and cucumber thinks it is not possible on windows. See:
appveyor/ci#373
http://help.appveyor.com/discussions/suggestions/197-support-ansi-color-codes
It's not dependent on ruby version.
Bjorn Rasmusson wrote:
Cucumber-ruby v2.1.0 (and later) use Gherkin3, so to use a newer Ruby version on Windows, you need to update to a newer Cucumber-ruby version.
But AFAIR I tried newer cucumber-ruby and failed (when searching newest working ruby germs).
I also get
if I don't install Cucumber-Ruby before running CMake (like you do in your script). |
About cuvumber-ruby - have you done bundle install ? |
Ok, now I believe it can be merged. |
Abot that:
I've also done some tests and I don't know how to enable boost test on windows properly - this is why i've added -DCUKE_DISABLE_BOOST_TEST in my appveyor config. All in all it seems to me that boost test is really problematic to use... |
Spent a few (horrible) days on Windows to fix the build. Created and merged #113 and then the AppVeyor build #114 was simple. Sorry to reject this PR. Notes:
|
New fixed and rebased version of windows CI