2023-02-15 17:46:55 +00:00
|
|
|
name: Bindings Tests (Ruby)
|
2023-01-07 19:21:43 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2023-02-15 17:46:55 +00:00
|
|
|
- bindings/ruby/**
|
2023-01-25 16:50:50 +00:00
|
|
|
- whisper.h
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2023-02-15 17:46:55 +00:00
|
|
|
- bindings/ruby/**
|
2023-01-25 16:50:50 +00:00
|
|
|
- whisper.h
|
2023-01-07 19:21:43 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-01-25 16:50:50 +00:00
|
|
|
ubuntu-latest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-02-15 17:46:55 +00:00
|
|
|
- uses: ruby/setup-ruby@v1
|
2023-01-07 19:21:43 +00:00
|
|
|
with:
|
2023-02-15 17:46:55 +00:00
|
|
|
ruby-version: '3.0'
|
2023-01-07 19:21:43 +00:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- run: |
|
2023-02-15 17:46:55 +00:00
|
|
|
cd bindings/ruby/ext
|
|
|
|
ruby extconf.rb && make
|