Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-13, windows-latest ]
ruby: [ 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, ruby-head, truffleruby-head, jruby-head ]
ruby: [ 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, ruby-head, truffleruby-head, jruby-head ]
exclude:
- os: windows-latest
ruby: truffleruby-head
Expand Down Expand Up @@ -165,6 +165,7 @@ jobs:
- macos-latest
- ubuntu-latest
ruby:
- "3.4"
- "3.3"
- "3.2"
- "3.1"
Expand All @@ -190,6 +191,9 @@ jobs:
- os: windows-latest
ruby: "3.3"
platform: x64-mingw-ucrt
- os: windows-latest
ruby: "3.4"
platform: x64-mingw-ucrt
exclude:
- os: macos-latest
ruby: "2.5"
Expand All @@ -199,6 +203,8 @@ jobs:
ruby: "3.2"
- os: windows-latest
ruby: "3.3"
- os: windows-latest
ruby: "3.4"

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ group :development do
gem 'bundler', '>= 1.16', '< 3'
gem 'rake', '~> 13.0'
gem 'rake-compiler', '~> 1.1'
gem 'rake-compiler-dock', '~> 1.0.pre'
gem 'rake-compiler-dock', '~> 1.7.0'
gem 'rspec', '~> 3.0'
end

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ namespace "gem" do
desc "Build the native gem for #{plat}"
task plat => ['prepare', 'build'] do
RakeCompilerDock.sh <<-EOT, platform: plat
#{ "sudo apt-get update && sudo apt-get install -y libltdl-dev &&" if plat !~ /linux/ }
sudo apt-get update && sudo apt-get install -y libltdl-dev &&
bundle --local &&
rake native:#{plat} pkg/#{gem_spec.full_name}-#{plat}.gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=${RUBY_CC_VERSION/:2.4.0/}
EOT
Expand Down
Loading