File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155155 java --version
156156 native-image --version
157157 if : runner.os == 'Windows'
158- test-native-image-msvc :
158+ test-native-image-windows :
159159 name : native-image on windows-latest
160160 runs-on : windows-latest
161161 permissions :
@@ -166,7 +166,30 @@ jobs:
166166 - name : Run setup-graalvm action
167167 uses : ./
168168 with :
169- version : ' latest'
169+ version : ' dev'
170+ java-version : ' dev'
171+ components : ' native-image'
172+ native-image-job-reports : ' true'
173+ native-image-pr-reports : ' true'
174+ github-token : ${{ secrets.GITHUB_TOKEN }}
175+ - name : Build HelloWorld executable with GraalVM Native Image on Windows
176+ run : |
177+ echo 'public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }' > HelloWorld.java
178+ javac HelloWorld.java
179+ native-image HelloWorld
180+ ./helloworld
181+ test-native-image-windows-msvc :
182+ name : native-image on windows-2019
183+ runs-on : windows-2019
184+ permissions :
185+ contents : read
186+ pull-requests : write # for `native-image-pr-reports` option
187+ steps :
188+ - uses : actions/checkout@v3
189+ - name : Run setup-graalvm action
190+ uses : ./
191+ with :
192+ version : ' 22.3.1'
170193 java-version : ' 17'
171194 components : ' native-image'
172195 native-image-job-reports : ' true'
You can’t perform that action at this time.
0 commit comments