Target Ruby 3.3 #218
Workflow file for this run
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: Tests (io_uring) | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
ruby: ['3.1', '3.2', '3.3', 'head'] | |
name: >- | |
${{matrix.os}}, ${{matrix.ruby}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler-cache: true # 'bundle install' and cache | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install | |
- name: Show Linux kernel version | |
run: uname -a | |
- name: Compile C-extension | |
run: bundle exec rake compile | |
- name: Run tests | |
run: bundle exec ruby test/run.rb |