Skip to content

Commit ae04066

Browse files
committed
Schedule CI for experimental rubies
1 parent cdf9bfd commit ae04066

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/experimental.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Experimental Rubies CI Run
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *' # Runs every day at midnight
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
continue-on-error: true
10+
11+
strategy:
12+
matrix:
13+
ruby: [head, truffleruby, truffleruby-head]
14+
15+
env:
16+
JAVA_OPTS: '-Xmx1024m'
17+
RUBYOPT: '-w'
18+
JRUBY_OPTS: '--dev'
19+
20+
name: "Tests: Experimental Ruby ${{ matrix.ruby }}"
21+
steps:
22+
- name: Clone Repo
23+
uses: actions/checkout@v2
24+
- name: Setup system Ruby ${{ matrix.ruby }}
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby }}
28+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29+
- name: Run tests
30+
run: |
31+
gem install bundler --version 1.17.3
32+
echo JAVA_OPTS: $JAVA_OPTS
33+
bundle exec rake ci

0 commit comments

Comments
 (0)