Skip to content

add ruby 3.4 to CI

add ruby 3.4 to CI #40

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [macos]
ruby: [head, '3.2', '3.3', '3.4']
compile_opt: ['']
include:
- os: 'macos'
ruby: '3.4'
compile_opt: 'ENABLE_STATIC=1'
steps:
- name: icu4c
run: brew install icu4c
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: "Run tests with compile_opt: ${{ matrix.compile_opt }}, rubyopt: ${{ matrix.rubyopt }}"
run: ${{ matrix.compile_opt }} bundle exec rake RUBYOPT="${{ matrix.rubyopt }}"