ruby: add a gem that wraps the library

This commit is contained in:
James Tucker
2023-03-01 17:38:45 -08:00
parent 0f378c01bd
commit 775ee41f1d
13 changed files with 498 additions and 0 deletions

36
.github/workflows/ruby.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.2.0'
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
working-directory: ruby
- name: Run build & test
run: |
cd ruby
bundle exec rake build test