From 088fc87aece424ac4903eb1a8e908f4d9316a1c3 Mon Sep 17 00:00:00 2001 From: zyc9012 Date: Fri, 27 Dec 2024 09:59:01 +0800 Subject: [PATCH] Compile for Ruby 3.4 --- .github/workflows/ci.yml | 2 +- rakelib/compile.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0feb7bf..f93a624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: needs: ['build', 'memory-check'] strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] + ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4'] os: ['ubuntu', 'macos', 'windows'] runs-on: ${{ matrix.os }}-latest steps: diff --git a/rakelib/compile.rake b/rakelib/compile.rake index 71ccc8c..acb25b9 100644 --- a/rakelib/compile.rake +++ b/rakelib/compile.rake @@ -8,7 +8,7 @@ native_gemspec = eval(File.read 'nokolexbor.gemspec').tap do |spec| spec.metadata.delete('msys2_mingw_dependencies') end -ENV['RUBY_CC_VERSION'] = %w{2.6.0 2.7.0 3.0.0 3.1.0 3.2.0 3.3.0}.join(':') +ENV['RUBY_CC_VERSION'] = %w{2.6.0 2.7.0 3.0.0 3.1.0 3.2.0 3.3.5 3.4.0}.join(':') cross_platforms = %w[x86-mingw32 x64-mingw-ucrt x64-mingw32 x86-linux x86_64-linux aarch64-linux x86_64-darwin arm64-darwin] Rake::ExtensionTask.new('nokolexbor', native_gemspec) do |ext|