-
Notifications
You must be signed in to change notification settings - Fork 166
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
CI: run on windows? #553
base: master
Are you sure you want to change the base?
CI: run on windows? #553
Conversation
🔴 ruby 2.5 to 3.0 fail with:
🔴 ruby 3.1, ruby-head, truffleruby-head pass
|
Yay, windows now on parity with other platforms, all CRuby versions actually run the tests, and all passed except #569 🎉 (Well, except truffleruby-head which apparently has no windows builds? anyway that's not a blocker.) |
e887fe4
to
96be379
Compare
Force-pushed to use same rebased commits as #570. now macos 2.5 keeps timing out 😕 There is a warning that might or might not be related 🤷 :
I guess it's time to drop EOL Ruby 2.5 (and 2.6?) on master branch? |
|
5683753
to
6dd4df1
Compare
Hope this might fix "Error installing rake" errors. - https://github.com/ruby/setup-ruby#windows has some indications Windows needs particular versions of bundler to work well, and IIUC setup-ruby should already install bundler, so rely on that. - We do need rake but it's a kubeclient.gemspec dependency that `bundle install` should cover, avoid a global install with `gem`.
Needed on Windows: https://github.com/tzinfo/tzinfo/wiki/Resolving-TZInfo::DataSourceNotFound-Errors tzinfo is required by (at least) openid_connect gem, which is an "optional" dependency for kubeclient — users are supposed to bring it themselves if they use 'oidc' auth — so making tzinfo-data a dev dependency.
Personally, I wish we were using: Style::TrailingCommaInHashLiteral: EnforcedStyleForMultiline: consistent_comma but that'd require 49 fixes, too much noise.
Don't know if it works, let's try :-) 'windows-latest` currently means Windows Server 2022 (https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/)
Bah, broke something in github actions file. I'm tempted to just leave non-existant (windows, truffleruby) combination in, but I think the rubocop job was already broken (it did not use |
Don't know if it works, let's try :-)
'windows-latest` currently means Windows Server 2022
(https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/)