-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.76 KB
/
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
52
name: Actions Ruby
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, ubuntu-20.04, macos-13, macos-12, macos-11, windows-2019, windows-2022 ]
ruby: [ head, 3.2, 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, 2.1, '2.0' ]
include:
- { os: ubuntu-20.04 , ruby: jruby }
- { os: ubuntu-20.04 , ruby: truffleruby }
- { os: ubuntu-20.04 , ruby: truffleruby-head }
- { os: ubuntu-22.04 , ruby: truffleruby }
- { os: ubuntu-22.04 , ruby: truffleruby-head }
- { os: macos-13 , ruby: jruby }
- { os: macos-13 , ruby: truffleruby }
- { os: macos-13 , ruby: truffleruby-head }
- { os: windows-2019 , ruby: mingw }
- { os: windows-2019 , ruby: mswin }
- { os: windows-2022 , ruby: ucrt }
- { os: windows-2022 , ruby: jruby }
exclude:
- { os: windows-2019 , ruby: 2.1 }
- { os: windows-2019 , ruby: '2.0' }
- { os: windows-2022 , ruby: 2.1 }
- { os: windows-2022 , ruby: '2.0' }
steps:
- name: repo checkout
uses: actions/checkout@v3
- name: set ruby version
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: none
- name: Ruby Info
run: ruby ruby_info.rb
- name: Ruby libyaml bug
run: ruby libyaml_trailing_space.rb
- name: Windows ridk version
if: startsWith(matrix.os, 'windows') && matrix.ruby > '2.3' && matrix.ruby != 'mswin' && !startsWith(matrix.ruby, 'jruby')
run: ridk version