Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Bundler to 2.5.20 and fix CI #67

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
27 changes: 24 additions & 3 deletions .github/workflows/rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- ruby: { name: jruby-9.4, value: jruby-9.4.2.0 }
os: { name: Ubuntu, value: ubuntu-22.04 }

- ruby: { name: truffleruby-22, value: truffleruby-22.3.0 }
- ruby: { name: truffleruby-24, value: truffleruby-24.1.0 }
os: { name: Ubuntu, value: ubuntu-22.04 }

- os: { name: Windows, value: windows-2022 }
Expand All @@ -53,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup ruby (Ubuntu/macOS)
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
uses: ruby/setup-ruby@f321cf5a4d1533575411f8752cf25b86478b0442 # v1.193.0
with:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
Expand All @@ -64,7 +64,28 @@ jobs:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
mingw: clang
if: matrix.os.name == 'Windows'
if: matrix.os.name == 'Windows' && matrix.ruby.name != 'mswin'
- name: Setup ruby (Windows mswin)
uses: ruby/setup-ruby-pkgs@1493c009477b19efcb54cfaf72b5f9d1fd6ba86c # v1.33.2
with:
ruby-version: ${{ matrix.ruby.value }}
mingw: clang
if: matrix.os.name == 'Windows' && matrix.ruby.name == 'mswin'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: rubygems/rubygems
ref: deivid-rodriguez/no-ruby-prepend
path: rubygems
if: matrix.ruby.name == 'mswin'
- run: ruby setup.rb
working-directory: rubygems
if: matrix.ruby.name == 'mswin'
- run: rm -rf rubygems
shell: bash
if: matrix.ruby.name == 'mswin'
- name: Bundle install
run: 'D:\ruby-mswin\bin\bundle.bat install --jobs 4'
if: matrix.os.name == 'Windows' && matrix.ruby.name == 'mswin'
- name: Configure bindgen
shell: pwsh
run: |
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ DEPENDENCIES
yard (~> 0.9)

BUNDLED WITH
2.4.12
2.5.20