Skip to content

Commit

Permalink
ci: use Github Actions, build against various Ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Apr 29, 2024
1 parent 6a5bb1c commit fc6d28a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Compile extension
run:
bundle exec rake compile

0 comments on commit fc6d28a

Please sign in to comment.