E57B Add Windows verification script to CI · jruby/jruby@df88a77 · GitHub
[go: up one dir, main page]

Skip to content

Commit df88a77

Browse files
committed
Add Windows verification script to CI
1 parent 9209884 commit df88a77

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: JRuby CI
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
JAVA_OPTS: '-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xms60M -Xmx1G -XX:InitialCodeCacheSize=40M -XX:ReservedCodeCacheSize=120M'
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
13+
rake-test:
14+
runs-on: windows-latest
15+
16+
strategy:
17+
matrix:
18+
java-version: ['21', '25']
19+
fail-fast: false
20+
21+
name: windows verification (Java ${{ matrix.java-version }})
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v3
26+
- name: set up java ${{ matrix.java-version }}
27+
uses: actions/setup-java@v3
28+
with:
29+
distribution: 'zulu'
30+
java-version: ${{ matrix.java-version }}
31+
cache: 'maven'
32+
- name: bootstrap
33+
run: mvn -ntp -Pbootstrap clean package
34+
- name: bundle install
35+
run: bin/jruby --dev -S bundle install
36+
- name: jruby rails_runner
37+
shell: cmd
38+
run: |
39+
set PATH=%CD%\bin;%PATH%
40+
jruby tool/rails_runner

tool/rails_runner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ Dir.chdir(rails_app) do
4141
jruby_command("rails", "generate scaffold person name:string")
4242
jruby_command("rake", "db:migrate")
4343
# jruby_command("rails", "webpacker:install")
44-
jruby_command("rails", "server")
44+
# jruby_command("rails", "server")
4545
end
4646
puts "Done"

0 commit comments

Comments
 (0)
0