8000 Build CI on Windows 2022 by chrisd8088 · Pull Request #4997 · git-lfs/git-lfs · GitHub
[go: up one dir, main page]

Skip to content

Build CI on Windows 2022 #4997

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

Merged
merged 1 commit into from
May 10, 2022
Merged

Conversation

chrisd8088
Copy link
Member

In commit f4ab4e7 of PR #4883 we noted that the gem install ronn step in our Windows CI workflows currently fails on newer Windows Server 2022 GitHub Actions runners, due to possibly some missing C headers or libraries.

While this could be resolved by upgrading to the ruby/setup-ruby@v1 action from the deprecated actions/setup-ruby@v1 one, that introduced a series of issues with PATH lookups as documented in ruby/setup-ruby#293.

We therefore chose to continue using Windows 2019 runners until a resolution or workaround was found.

Fortunately, as of commit 912b607 in PR #4992 we are now using the ronn-ng Ruby gem instead of the unmaintained ronn gem, and the gem install ronn-ng workflow step succeeds on Windows 2022 while still using the actions/setup-ruby@v1 action to install a Ruby build environment. This allows us to upgrade to the latest Windows runners in GitHub Actions, although we can't yet upgrade to the ruby/setup-ruby@v1 workflow action.

h/t to @bk2204 for finding ronn-ng!

Resolves #4995.

In commit f4ab4e7 of PR git-lfs#4883 we
noted that the "gem install ronn" step in our Windows CI workflows
currently fails on newer Windows Server 2022 GitHub Actions runners,
due to possibly some missing C headers or libraries.

While this could be resolved by upgrading to the "ruby/setup-ruby"
action from the deprecated "actions/setup-ruby" one, that introduced a
series of issues with PATH lookups as documented in ruby/setup-ruby#293.

We therefore chose to continue using Windows 2019 runners until a
resolution or workaround was found.

Fortunately, as of commit 912b607
in PR git-lfs#4992 we are now using the ronn-ng Ruby gem instead of the
unmaintained ronn gem, and the "gem install ronn-ng" workflow step
succeeds on Windows 2022 while still using the "actions/setup-ruby"
action to install a Ruby build environment.  This allows us to
upgrade to the latest Windows runners in GitHub Actions, although
we can't yet upgrade to the "ruby/setup-ruby" workflow action.

h/t to @bk2204 for finding ronn-ng!
@chrisd8088 chrisd8088 merged commit fdaef59 into git-lfs:main May 10, 2022
@chrisd8088 chrisd8088 deleted the actions-windows-2022 branch May 10, 2022 16:24
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Aug 6, 2022
With the migration of our manual pages to AsciiDoctor in PR git-lfs#5054
we can now upgrade to the ruby/setup-ruby@v1 action instead of using
the deprecated and unmaintained actions/setup-ruby@v1 action.

BUT -- PATH on Windows ... see 6c234a2
and pull request git-lfs#4997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate Actions workflows with Ruby and latest Windows
2 participants
0