Commit 64e9662
committed
Always attempt MSVC environment setup on Windows
GraalVM native-image (released versions ≤21.0.x) uses a `20\d\d` regex
to find Visual Studio installations, which does not match VS 2026's
`\18\` directory. Previously, the action skipped MSVC setup for JDK 17+
assuming native-image handles it — but it can't find VS 2026.
Now the action always runs vcvarsall.bat on Windows, putting cl.exe on
PATH so native-image skips its own detection. For JDK 17+ and dev
builds, failures are non-fatal (warning instead of error) since future
native-image versions with vswhere support will handle it.
Fixes #2201 parent 809afe6 commit 64e9662
4 files changed
Lines changed: 4 additions & 66 deletions
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 27 | + | |
51 | 28 | | |
52 | 29 | | |
53 | 30 | | |
| |||
0 commit comments