diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b053e1a..69b5da7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -90,22 +90,12 @@ jobs: with: platform: x64-mingw-ucrt - precompile-x64-mingw32: - uses: ./.github/workflows/precompile-gem.yml - with: - platform: x64-mingw32 - - precompile-x86-mingw32: - uses: ./.github/workflows/precompile-gem.yml - with: - platform: x86-mingw32 - test-re2-abi: needs: "build-cruby-gem" runs-on: ubuntu-22.04 strategy: matrix: - ruby: ["3.4.0-rc1", "3.0"] # oldest and newest + ruby: ["3.4.0-rc1", "3.1"] # oldest and newest libre2: - version: "20150501" soname: 0 @@ -148,7 +138,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] sys: ["enable", "disable"] runs-on: "ubuntu-latest" steps: @@ -171,7 +161,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] sys: ["enable", "disable"] runs-on: "macos-13" steps: @@ -189,29 +179,6 @@ jobs: env: BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle - test-windows-2019: - needs: "build-cruby-gem" - strategy: - fail-fast: false - matrix: - sys: ["enable", "disable"] - runs-on: "windows-2019" - steps: - - uses: actions/checkout@v4 - - uses: ruby/setup-ruby-pkgs@v1 - with: - ruby-version: "3.0" - mingw: re2 - bundler-cache: true - - uses: actions/download-artifact@v4 - with: - name: cruby-gem - path: pkg - - run: ./scripts/test-gem-install --${{ matrix.sys }}-system-libraries - shell: bash - env: - BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle - test-windows-2022: needs: "build-cruby-gem" strategy: @@ -283,7 +250,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -304,7 +271,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -325,7 +292,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -346,7 +313,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -367,7 +334,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -388,7 +355,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -409,7 +376,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -430,7 +397,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: ubuntu-latest container: image: "ruby:${{ matrix.ruby }}-alpine" @@ -449,7 +416,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: macos-14 steps: - uses: actions/checkout@v4 @@ -470,7 +437,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "3.4.0-rc1"] + ruby: ["3.1", "3.2", "3.3", "3.4.0-rc1"] runs-on: macos-13 steps: - uses: actions/checkout@v4 @@ -508,24 +475,6 @@ jobs: env: BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle - test-precompiled-x64-mingw32: - needs: "precompile-x64-mingw32" - runs-on: windows-2019 - steps: - - uses: actions/checkout@v4 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.0" - bundler-cache: true - - uses: actions/download-artifact@v4 - with: - name: cruby-x64-mingw32-gem - path: pkg - - run: ./scripts/test-gem-install - shell: bash - env: - BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle - ruby-memcheck: runs-on: "ubuntu-latest" env: diff --git a/README.md b/README.md index 41fb432..926710f 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ RE2(non_latin1_pattern.encode("ISO-8859-1"), utf8: false).match(non_latin1_text. This gem requires the following to run: -* [Ruby](https://www.ruby-lang.org/en/) 3.0 to 3.4.0-rc1 +* [Ruby](https://www.ruby-lang.org/en/) 3.1 to 3.4.0-rc1 It supports the following RE2 ABI versions: @@ -271,7 +271,7 @@ Where possible, a pre-compiled native gem will be provided for the following pla * `aarch64-linux`, `arm-linux`, `x86-linux` and `x86_64-linux` (requires [glibc](https://www.gnu.org/software/libc/) 2.29+, RubyGems 3.3.22+ and Bundler 2.3.21+) * [musl](https://musl.libc.org/)-based systems such as [Alpine](https://alpinelinux.org) are supported with Bundler 2.5.6+ * macOS `x86_64-darwin` and `arm64-darwin` -* Windows `x64-mingw32` and `x64-mingw-ucrt` +* Windows `x64-mingw-ucrt` ### Verifying the gems diff --git a/Rakefile b/Rakefile index ad72aeb..9618d91 100644 --- a/Rakefile +++ b/Rakefile @@ -33,7 +33,7 @@ cross_platforms = %w[ x86_64-linux-musl ].freeze -ENV['RUBY_CC_VERSION'] = %w[3.4.0 3.3.5 3.2.0 3.1.0 3.0.0].join(':') +ENV['RUBY_CC_VERSION'] = %w[3.4.0 3.3.5 3.2.0 3.1.0].join(':') Gem::PackageTask.new(re2_gemspec).define