mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-20 21:23:06 +00:00
021eef1000
* Add tests for Whisper::Context#full * Add Whisper::Context#full * Add tests for Whisper::Error * Add document of Whisper::Context#full [skip ci] * Add additional signature for Whisper::Context#full * Add description to Whisper::Context#full * Add test for Whisper::Context#full_parallel * Add Whisper::Context#full_parallel * Hide Whisper's instance methods from Ruby code * Add class to test MemoryView * Build test class before running test * Add test for MemoryView * Make Whisper::Context#full and #full_parallel accept MemoryView * Use Ruby 3.1 on CI * Add comment on samples data type * Update README * Update README * Remove unused code
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
name: Bindings Tests (Ruby)
|
|
on:
|
|
push:
|
|
paths:
|
|
- bindings/ruby/**
|
|
- src/**/*.c
|
|
- src/**/*.cpp
|
|
- src/**/*.h
|
|
- src/**/*.m
|
|
- src/**/*.metal
|
|
- include/**/*.c
|
|
- include/**/*.cpp
|
|
- include/**/*.h
|
|
- include/**/*.m
|
|
- include/**/*.metal
|
|
- ggml/**/*.c
|
|
- ggml/**/*.cpp
|
|
- ggml/**/*.h
|
|
- ggml/**/*.m
|
|
- ggml/**/*.metal
|
|
- scripts/get-flags.mk
|
|
- examples/dr_wav.h
|
|
pull_request:
|
|
paths:
|
|
- bindings/ruby/**
|
|
- src/**/*.c
|
|
- src/**/*.cpp
|
|
- src/**/*.h
|
|
- src/**/*.m
|
|
- src/**/*.metal
|
|
- include/**/*.c
|
|
- include/**/*.cpp
|
|
- include/**/*.h
|
|
- include/**/*.m
|
|
- include/**/*.metal
|
|
- ggml/**/*.c
|
|
- ggml/**/*.cpp
|
|
- ggml/**/*.h
|
|
- ggml/**/*.m
|
|
- ggml/**/*.metal
|
|
- scripts/get-flags.mk
|
|
- examples/dr_wav.h
|
|
|
|
jobs:
|
|
ubuntu-latest:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: bindings/ruby
|
|
steps:
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.1'
|
|
- uses: actions/checkout@v4
|
|
- run: rake test
|