Skip to content

Commit

Permalink
Add Ruby 3.4 to cross-compile gem
Browse files Browse the repository at this point in the history
Drop Ruby 3.0
  • Loading branch information
stanhu committed Dec 28, 2024
1 parent 6d5e971 commit e2981a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
ruby: ["3.0", "3.1", "3.2", "3.3"]
ruby: ["3.1", "3.2", "3.3", "3.4"]
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
platform: ${{ matrix.platform }}
version: 'latest'
env: |
RUBY_CC_VERSION=3.3.0:3.2.0:3.1.0:3.0.0
RUBY_CC_VERSION=3.4.0:3.3.0:3.2.0:3.1.0
- uses: actions/download-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ require "rake/testtask"
require "rake/extensiontask"
require "rb_sys"

cross_rubies = %w[3.3.0 3.2.0 3.1.0 3.0.0]
cross_rubies = %w[3.4.0 3.3.0 3.2.0 3.1.0]
cross_platforms = %w[
aarch64-linux
aarch64-linux-musl
arm64-darwin
x86_64-darwin
x86_64-linux
Expand Down
3 changes: 2 additions & 1 deletion y-rb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.description = "Ruby bindings for yrs. Yrs \"wires\" is a Rust port of the Yjs framework."
spec.homepage = "https://github.com/y-crdt/yrb"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"
# https://github.com/rubygems/rubygems/pull/5852#issuecomment-1231118509
spec.required_rubygems_version = ">= 3.3.22"

Expand All @@ -39,6 +39,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "rake", "~> 13.0"
spec.add_dependency "rb_sys", "~> 0.9.86"

spec.add_development_dependency "base64"
spec.add_development_dependency "rake-compiler", "~> 1.2.1"
spec.add_development_dependency "rake-compiler-dock", "~> 1.7.0"

Expand Down

0 comments on commit e2981a3

Please sign in to comment.