-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (48 loc) · 996 Bytes
/
ruby.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: test
on:
- push
jobs:
ubuntu:
strategy:
matrix:
ruby:
- 2.6
- 2.7
- 3.0
- 3.1
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup dependencies
run: sudo apt-get install -y libzstd-dev
- name: CI test
run: scripts/ci_test.sh
env:
CI: True
macos:
strategy:
matrix:
ruby:
- 2.6
- 2.7
- 3.0
- 3.1
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup dependencies
run: brew install zstd
- name: CI test
run: scripts/ci_test.sh
env:
CI: True