Skip to content

Commit 19ea1f4

Browse files
authored
Update Maven Workflow
Add job to test on Linux_Arm64
1 parent 7311823 commit 19ea1f4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ jobs:
3333
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
3434
volucris.bindings.jolt.HelloWorld
3535
36+
Linux_Arm64:
37+
runs-on: ubuntu-24.04-arm
38+
steps:
39+
- uses: actions/checkout@v7
40+
- name: Set up JDK 26
41+
uses: actions/setup-java@v5
42+
with:
43+
java-version: '26'
44+
distribution: 'temurin'
45+
cache: maven
46+
- name: Build with Maven
47+
run: mvn -B package --file pom.xml
48+
- name: Execute the HelloWorld app
49+
run: |
50+
$JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \
51+
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
52+
volucris.bindings.jolt.HelloWorld
53+
3654
macOS:
3755
runs-on: macos-26
3856
steps:

0 commit comments

Comments
 (0)