Skip to content

Fix JRuby.

Fix JRuby. #109

Workflow file for this run

name: Development
on: [push, pull_request]
jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}} (${{matrix.gemfile}})
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.experimental}}
strategy:
matrix:
os:
- ubuntu
- macos
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
gemfile:
- gems/rack_v2.rb
- gems/rack_v2-1.rb
- gems/rack_v3.rb
experimental: [false]
include:
- os: ubuntu
ruby: truffleruby
experimental: true
- os: ubuntu
ruby: jruby
experimental: true
- os: ubuntu
ruby: head
experimental: true
env:
BUNDLE_GEMFILE: ${{matrix.gemfile}}
steps:
- uses: actions/checkout@v3
- name: Installing packages (ubuntu)
if: matrix.os == 'ubuntu'
run: sudo apt-get install libmemcached-dev
- name: Installing packages (macos)
if: matrix.os == 'macos'
run: brew install libmemcached
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- run: bundle exec rake