From f5b8740b8699142df9f8856a00817d672a851e0a Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sun, 12 Jul 2026 11:26:02 -0700 Subject: [PATCH] maven.yml: add a job to test with Windows --- .github/workflows/maven.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e14a565..8762e52 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -50,3 +50,23 @@ jobs: $JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \ -cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \ volucris.bindings.jolt.HelloWorld + + Windows: + runs-on: windows-2025 + steps: + - uses: actions/checkout@v7 + - name: Set up JDK 26 + uses: actions/setup-java@v5 + with: + java-version: '26' + distribution: 'oracle' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + shell: bash + - name: Execute the HelloWorld app + run: | + "$JAVA_HOME/bin/java" --enable-preview --enable-native-access=ALL-UNNAMED \ + -cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \ + volucris.bindings.jolt.HelloWorld + shell: bash