From 70fee76cdfc04383daedeb8d9e550ee6ae90504f Mon Sep 17 00:00:00 2001 From: sue445 Date: Fri, 19 Jan 2024 14:14:19 +0900 Subject: [PATCH] Exclude duplicated test `--jit` is same to `--yjit` since MRI 3.2 ``` $ RBENV_VERSION=3.0.5 ruby --help | grep " --jit " --jit enable JIT with default options (experimental) $ RBENV_VERSION=3.1.4 ruby --help | grep " --jit " --jit enable JIT for the platform, same as --mjit (experimental) $ RBENV_VERSION=3.2.2 ruby --help | grep " --jit " --jit enable JIT for the platform, same as --yjit $ RBENV_VERSION=3.3.0 ruby --help | grep " --jit " --jit enable JIT for the platform, same as --yjit ``` Therefore, since Ruby 3.2, I don't test both `--jit` and `--yjit`. --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a8d5a55..0b68155 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,6 +54,12 @@ jobs: - ruby: "3.0" rubyopt: "--yjit" + # --jit is same to --yjit since MRI 3.2 (don't test both `--jit` and `--yjit`) + - ruby: "3.2" + rubyopt: "--yjit" + - ruby: "3.3" + rubyopt: "--yjit" + uses: ./.github/workflows/test_main.yml with: ruby: ${{ matrix.ruby }}