-
Notifications
You must be signed in to change notification settings - Fork 129
43 lines (41 loc) · 999 Bytes
/
ci.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
name: CI
on: [push, pull_request]
jobs:
rubies:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ ruby-head, '3.2', '3.1', '3.0', '2.7', truffleruby ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
- name: Install gem
run: rake install
platforms:
strategy:
matrix:
os: [macos]
ruby: ['3.0']
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
- name: Install gem
run: rake install