File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 75
75
- { os: windows-11-arm, ruby: '3.1' }
76
76
- { os: windows-11-arm, ruby: '3.2' }
77
77
- { os: windows-11-arm, ruby: '3.3' }
78
- # https://github.com/ruby/jruby-dev-builder/pull/14#issuecomment-2829841247
79
- - { os: windows-11-arm, ruby: jruby }
80
- - { os: windows-11-arm, ruby: jruby-head }
81
78
# RubyInstaller has no 64-bit builds of 1.9 on Windows
82
79
- { os: windows-2022, ruby: '1.9' }
83
80
- { os: windows-2025, ruby: '1.9' }
Original file line number Diff line number Diff line change @@ -395,10 +395,15 @@ export async function setupJavaHome(rubyPrefix) {
395
395
console . log ( "JRuby failed to start, try Java 21 envs" )
396
396
397
397
let arch = os . arch ( )
398
- if ( arch === "x64" || os . platform ( ) !== "darwin" ) {
398
+ if ( arch === "arm64" && os . platform ( ) === "win32" ) {
399
+ arch = "AARCH64"
400
+ } else if ( arch === "x64" || os . platform ( ) !== "darwin" ) {
399
401
arch = "X64"
400
402
}
401
403
404
+ // JAVA_HOME_21_AARCH64 - https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md#java
405
+ // JAVA_HOME_21_arm64 - https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md#java
406
+ // JAVA_HOME_21_X64 - https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#java
402
407
let newHomeVar = `JAVA_HOME_21_${ arch } `
403
408
let newHome = process . env [ newHomeVar ]
404
409
You can’t perform that action at this time.
0 commit comments