-
Notifications
You must be signed in to change notification settings - Fork 87
54 lines (42 loc) · 1.46 KB
/
Copy pathci-integration.yml
File metadata and controls
54 lines (42 loc) · 1.46 KB
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
name: integration test
on: [push, pull_request]
env:
JRUBY_OPTS: '-J-ea'
MAVEN_OPTS: '-Dstyle.color=always' # force Maven colored output
# hits live services (badssl.com, howsmyssl.com, check-tls.akamai.io, rubygems.org, ...)
# so a failure here may well mean "service/network is down" rather than a jruby-openssl
# regression - kept non-blocking on purpose, look at the log before trusting a red run
jobs:
integration:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
ruby-version: [ jruby-9.4.14.0, jruby-10.0.6.0 ]
include:
- ruby-version: jruby-9.4.14.0
java-version: 11
- ruby-version: jruby-10.0.6.0
java-version: 21
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- name: set up ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: bundle install
run: bash .github/scripts/bundle-install
- name: build jopenssl.jar
run: jruby -rbundler/setup -S rake jar
- name: bundle install
run: jruby -S rake integration:install
- name: integration test
run: jruby -S rake integration:test
timeout-minutes: 15