Skip to content

Commit

Permalink
Restore Ruby 2.6, 2.7, and 3.0 support
Browse files Browse the repository at this point in the history
Upgrade to rake-compiler-dock 1.8.0 which allows us to compile Musl gems
for Ruby 3.0 (see https://bugs.ruby-lang.org/issues/17788) and restore
support for Ruby 2.6 and 2.7 at the same time. This requires installing
the latest supported version of RubyGems for older versions of Ruby.

We now switch to Ruby 3.4 final (rather than using the release
candidate) on all platforms for both precompilation and testing.

This reverts commit a0ec2d6.
  • Loading branch information
mudge committed Jan 6, 2025
1 parent d1a6abe commit 679862b
Show file tree
Hide file tree
Showing 8 changed files with 195 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4.0-rc1"
ruby-version: "3.4"
- name: Upgrade all vendored dependencies to their latest versions
run: ./scripts/update-dependencies
- uses: actions/create-github-app-token@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4.0-rc1"
ruby-version: "3.4"
- run: gem install --no-document yard redcarpet
- run: yardoc
- uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/precompile-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4.0-rc1"
ruby-version: "3.4"
bundler-cache: true
- uses: actions/cache@v4
with:
Expand Down
Loading

0 comments on commit 679862b

Please sign in to comment.