mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-23 11:10:57 -05:00
* ci : add on push/pull_request paths ruby job This commit adds paths to bindings-ruby to only build if changes where made to bindings/ruby or to include/whisper.h. * ci : add additional paths [no ci]
33 lines
635 B
YAML
33 lines
635 B
YAML
name: Bindings Tests (Ruby)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- bindings/ruby/**
|
|
- include/whisper.h
|
|
- examples/common-whisper.h
|
|
- ggml/include/ggml.h
|
|
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
paths:
|
|
- bindings/ruby/**
|
|
- include/whisper.h
|
|
- examples/common-whisper.h
|
|
- ggml/include/ggml.h
|
|
|
|
jobs:
|
|
ubuntu-22:
|
|
runs-on: ubuntu-22.04
|
|
defaults:
|
|
run:
|
|
working-directory: bindings/ruby
|
|
steps:
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.2'
|
|
- uses: actions/checkout@v6
|
|
- run: rake test
|