Skip to content

Commit 2b06d60

Browse files
pditommasoclaude
andcommitted
Update runners and fix platform naming
- Use macos-latest-large for macos-amd64 (Intel) - Use macos-latest-xlarge for macos-arm64 (Apple Silicon) - Change platform prefix from darwin- to macos- - Add conf/native-image to configuration directories 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8df8557 commit 2b06d60

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

.github/workflows/build-native.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ jobs:
3333
platform: linux-amd64
3434
- os: ubuntu-24.04-arm
3535
platform: linux-arm64
36-
- os: macos-14
37-
platform: darwin-arm64
36+
- os: macos-latest-large
37+
platform: macos-amd64
38+
- os: macos-latest-xlarge
39+
platform: macos-arm64
3840

3941
steps:
4042
- name: Checkout repository

build-native.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ detect_platform() {
107107
BINARY_EXT=""
108108
;;
109109
darwin)
110-
PLATFORM="darwin-$ARCH"
110+
PLATFORM="macos-$ARCH"
111111
BINARY_EXT=""
112112
;;
113113
mingw*|msys*|cygwin*)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ graalvmNative {
168168
'--initialize-at-build-time=groovyjarjarantlr4',
169169
'--initialize-at-build-time=java.beans',
170170
'--initialize-at-build-time=com.sun.beans',
171-
"-H:ConfigurationFileDirectories=$buildDir/native-image-agent"
171+
"-H:ConfigurationFileDirectories=$buildDir/native-image-agent,$projectDir/conf/native-image"
172172
])
173173
}
174174
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"name": "[Ljava.lang.reflect.AccessFlag;",
4+
"allPublicMethods": true,
5+
"allPublicFields": true
6+
},
7+
{
8+
"name": "java.lang.reflect.AccessFlag",
9+
"allPublicMethods": true,
10+
"allPublicFields": true
11+
}
12+
]

0 commit comments

Comments
 (0)