-
Notifications
You must be signed in to change notification settings - Fork 517
49 lines (40 loc) · 1.15 KB
/
continuous_integration.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
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
continuous_integration_build:
continue-on-error: true
strategy:
fail-fast: false
matrix:
ruby: [2.3, 2.7, 3.0]
operating-system: [ubuntu-latest]
include:
- ruby: head
operating-system: ubuntu-latest
- ruby: truffleruby-head
operating-system: ubuntu-latest
- ruby: 2.7
operating-system: windows-latest
- ruby: jruby-head
operating-system: windows-latest
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
env:
JAVA_OPTS: -Djdk.io.File.enableADS=true
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run Build
run: bundle exec rake default
- name: Test Gem
run: bundle exec rake test:gem