File tree Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Bindings Tests
1
+ name : Bindings Tests (Go)
2
2
on :
3
3
push :
4
4
paths :
Original file line number Diff line number Diff line change
1
+ name : Bindings Tests (Ruby)
2
+ on :
3
+ push :
4
+ paths :
5
+ - bindings/ruby/**
6
+ - whisper.h
7
+ pull_request :
8
+ paths :
9
+ - bindings/ruby/**
10
+ - whisper.h
11
+
12
+ jobs :
13
+ ubuntu-latest :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/setup-ruby@v1
17
+ with :
18
+ ruby-version : ' 2.6'
19
+ - uses : actions/checkout@v1
20
+ - run : |
21
+ cd bindings/ruby
22
+ ruby extconf.rb && make
Original file line number Diff line number Diff line change @@ -14,13 +14,11 @@ jobs:
14
14
sudo apt-get update
15
15
sudo apt-get install build-essential
16
16
sudo apt-get install libsdl2-dev
17
- sudo apt-get install ruby-dev
18
17
19
18
- name : Build
20
19
run : |
21
20
make
22
21
make stream
23
- cd bindings/ruby/ext && ruby extconf.rb && make
24
22
25
23
macOS-latest :
26
24
runs-on : macOS-latest
@@ -32,13 +30,12 @@ jobs:
32
30
- name : Dependencies
33
31
run : |
34
32
brew update
35
- brew install sdl2 ruby
33
+ brew install sdl2
36
34
37
35
- name : Build
38
36
run : |
39
37
make
40
38
make stream
41
- cd bindings/ruby/ext && ruby extconf.rb && make
42
39
43
40
ubuntu-latest-gcc :
44
41
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments