Commit f0752fd
ci: stop running the macOS build under Rosetta
macos-latest is now macos-26-arm64, but setup-java pinned
architecture: x64, so the runner fetched an x86_64 Zulu JDK and every
JVM in the build -- Maven, each Surefire fork, the Kotlin daemon -- ran
under Rosetta 2 emulation. The Maven step took 52m29s on macOS against
18m45s on Ubuntu, a uniform 2-6x penalty across every module rather
than one slow test. The GraalVM jobs in the same workflow pin no
architecture, get a native arm64 JDK, and finish a full clean install
in three minutes.
Drop the pin from all three jobs. Ubuntu and Windows runners are x64
anyway, so it is a no-op there and removes the same trap when those
images move to arm.
Also drop JAVA_OPTS. Maven reads MAVEN_OPTS and no argLine forwards it,
so those flags never reached any JVM on any OS -- the Kotlin daemon
launches without them in the logs. Dead config, and a pessimization
(C1-only JIT) had it ever applied.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 38e40e4 commit f0752fd
3 files changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
60 | | - | |
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
| |||
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | | - | |
72 | 66 | | |
73 | 67 | | |
74 | 68 | | |
| |||
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
82 | | - | |
83 | | - | |
84 | 76 | | |
85 | 77 | | |
86 | 78 | | |
| |||
91 | 83 | | |
92 | 84 | | |
93 | 85 | | |
94 | | - | |
95 | 86 | | |
96 | 87 | | |
97 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
0 commit comments