Fix: Update file_free to match Ruby 3.3's dfree signature requirements #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LibmagicRb Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test LibmagicRb with Ruby 2.3 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.3 | |
- name: Install bundler | |
run: gem install bundler -v 2.2.6 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v2 | |
- name: Test LibmagicRb with Ruby 2.5 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.5 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v2 | |
- name: Test LibmagicRb with Ruby 2.7 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.7 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v4 | |
- name: Test LibmagicRb with Ruby 3.0 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v4 | |
- name: Test LibmagicRb with Ruby 3.1 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v4 | |
- name: Test LibmagicRb with Ruby 3.2 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test | |
- uses: actions/checkout@v4 | |
- name: Test LibmagicRb with Ruby 3.3 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake compile | |
run: rake compile | |
- name: Run tests | |
run: rake test |