Skip to content

Commit f3cc094

Browse files
authored
Merge pull request #7 from stephengold/sgold-windows-ci
maven.yml: add a job to test with Windows
2 parents 7258278 + f5b8740 commit f3cc094

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,23 @@ jobs:
5050
$JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \
5151
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
5252
volucris.bindings.jolt.HelloWorld
53+
54+
Windows:
55+
runs-on: windows-2025
56+
steps:
57+
- uses: actions/checkout@v7
58+
- name: Set up JDK 26
59+
uses: actions/setup-java@v5
60+
with:
61+
java-version: '26'
62+
distribution: 'oracle'
63+
cache: maven
64+
- name: Build with Maven
65+
run: mvn -B package --file pom.xml
66+
shell: bash
67+
- name: Execute the HelloWorld app
68+
run: |
69+
"$JAVA_HOME/bin/java" --enable-preview --enable-native-access=ALL-UNNAMED \
70+
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
71+
volucris.bindings.jolt.HelloWorld
72+
shell: bash

0 commit comments

Comments
 (0)