-
Notifications
You must be signed in to change notification settings - Fork 7
71 lines (68 loc) · 1.84 KB
/
build.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: build
on: push
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- windows-latest
- macos-13
ruby:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
gemfile:
- openssl_2_2
- openssl_2_1
- openssl_3_0
- openssl_3_1
exclude:
- ruby: '2.4'
gemfile: openssl_3_0
- ruby: '2.5'
gemfile: openssl_3_0
- ruby: '2.4'
gemfile: openssl_3_1
- ruby: '2.5'
gemfile: openssl_3_1
- ruby: '3.1'
gemfile: openssl_2_2
os: macos-13
- ruby: '3.1'
gemfile: openssl_2_1
os: macos-13
- ruby: '3.2'
gemfile: openssl_2_2
os: macos-13
- ruby: '3.2'
gemfile: openssl_2_1
os: macos-13
- ruby: '3.2'
gemfile: openssl_2_2
os: windows-latest
- ruby: '3.2'
gemfile: openssl_2_1
os: windows-latest
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake