Skip to content

Commit 705e983

Browse files
committed
Move experimental builds to a separate workflow that only runs when pushed to master
Signed-off-by: James Couball <jcouball@yahoo.com>
1 parent e056d64 commit 705e983

File tree

2 files changed

+43
-10
lines changed

2 files changed

+43
-10
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,10 @@ jobs:
2222
operating-system: [ubuntu-latest]
2323
experimental: [No]
2424
include:
25-
- # Building against head version of Ruby is considered experimental
26-
ruby: head
27-
operating-system: ubuntu-latest
28-
experimental: Yes
29-
3025
- # Only test with minimal Ruby version on Windows
3126
ruby: 3.0
3227
operating-system: windows-latest
3328

34-
- # Since JRuby on Windows is known to not work, consider this experimental
35-
ruby: jruby-head
36-
operating-system: windows-latest
37-
experimental: Yes
38-
3929
steps:
4030
- name: Checkout Code
4131
uses: actions/checkout@v4
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI Experimental
2+
3+
on:
4+
push:
5+
branches: [master,v1]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
11+
runs-on: ${{ matrix.operating-system }}
12+
continue-on-error: true
13+
env: { JAVA_OPTS: -Djdk.io.File.enableADS=true }
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- # Building against head version of Ruby is considered experimental
20+
ruby: head
21+
operating-system: ubuntu-latest
22+
experimental: Yes
23+
24+
- # Since JRuby on Windows is known to not work, consider this experimental
25+
ruby: jruby-head
26+
operating-system: windows-latest
27+
experimental: Yes
28+
29+
steps:
30+
- name: Checkout Code
31+
uses: actions/checkout@v4
32+
33+
- name: Setup Ruby
34+
uses: ruby/setup-ruby@v1
35+
with:
36+
ruby-version: ${{ matrix.ruby }}
37+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
38+
39+
- name: Run Build
40+
run: bundle exec rake default
41+
42+
- name: Test Gem
43+
run: bundle exec rake test:gem

0 commit comments

Comments
 (0)