From e5e5bbc4f81903782654a1c890b33f9b87a0e1ea Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 12:05:04 +0900 Subject: Use macos-12 and ubuntu-22.04 instead of deprecated platforms. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ed36dc..68fb1ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,9 @@ jobs: matrix: os: - ubuntu-20.04 - - ubuntu-18.04 - - macos-11.0 - - macos-10.15 + - ubuntu-22.04 + - macos-11 + - macos-12 - windows-latest ruby: - '3.0' -- cgit v1.2.1 From c75b63937ffa4a8f5751c9a2717f0a287377d818 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 12:07:50 +0900 Subject: Switch to use ruby_versions callable workflow --- .github/workflows/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68fb1ac..70c488b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,13 @@ on: - pull_request jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + min_version: 2.3 + host: + needs: ruby-versions name: ${{ matrix.os }} ${{ matrix.ruby }} runs-on: ${{ matrix.os }} strategy: @@ -17,17 +23,13 @@ jobs: - macos-11 - macos-12 - windows-latest - ruby: - - '3.0' - - 2.7 - - 2.6 - - 2.5 - - 2.4 - - 2.3 + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} include: - { os: ubuntu-latest , ruby: jruby-9.1 } # Ruby 2.3 - { os: ubuntu-latest , ruby: jruby-9.2 } # Ruby 2.5 - - { os: ubuntu-latest , ruby: truffleruby } + exclude: + - { os: windows-latest, ruby: truffleruby } + - { os: windows-latest, ruby: truffleruby-head } steps: - uses: actions/checkout@v2 -- cgit v1.2.1 From 8fb876e8c8045529441ad5fa6c8450f8dc11e35b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 12:12:14 +0900 Subject: Skip to install test caused by https://github.com/rubygems/rubygems/pull/6430 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70c488b..4ccf303 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,4 +54,4 @@ jobs: - run: rake build - run: gem install pkg/*.gem - + if: ${{ matrix.ruby != '3.2' }} -- cgit v1.2.1 From be079fc575d4a32edef988285bcb3fc527130043 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 12:20:40 +0900 Subject: Added JRuby 9.3 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ccf303..195c1cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: include: - { os: ubuntu-latest , ruby: jruby-9.1 } # Ruby 2.3 - { os: ubuntu-latest , ruby: jruby-9.2 } # Ruby 2.5 + - { os: ubuntu-latest , ruby: jruby-9.3 } # Ruby 2.7 exclude: - { os: windows-latest, ruby: truffleruby } - { os: windows-latest, ruby: truffleruby-head } -- cgit v1.2.1 From 811f2f455dcb7516746793506edb3c330b26a81d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 12:48:03 +0900 Subject: JRuby 9.4+ on Windows is not working with current master --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 195c1cc..db4e360 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,8 @@ jobs: exclude: - { os: windows-latest, ruby: truffleruby } - { os: windows-latest, ruby: truffleruby-head } + - { os: windows-latest, ruby: jruby } + - { os: windows-latest, ruby: jruby-head } steps: - uses: actions/checkout@v2 -- cgit v1.2.1