Skip to content

Commit 73f0f74

Browse files
authored
Update Maven Workflow
1. Add job to test on macOs_x64. 2. Rename jobs for more clarity
1 parent 19ea1f4 commit 73f0f74

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

.github/workflows/maven.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
branches: [ "Overhaul" ]
1616

1717
jobs:
18-
Linux:
18+
Linux_x64:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v7
@@ -51,7 +51,7 @@ jobs:
5151
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
5252
volucris.bindings.jolt.HelloWorld
5353
54-
macOS:
54+
macOS_Arm64:
5555
runs-on: macos-26
5656
steps:
5757
- uses: actions/checkout@v7
@@ -68,8 +68,26 @@ jobs:
6868
$JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \
6969
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
7070
volucris.bindings.jolt.HelloWorld
71+
72+
macOS_x64:
73+
runs-on: macos-26-intel
74+
steps:
75+
- uses: actions/checkout@v7
76+
- name: Set up JDK 26
77+
uses: actions/setup-java@v5
78+
with:
79+
java-version: '26'
80+
distribution: 'temurin'
81+
cache: maven
82+
- name: Build with Maven
83+
run: mvn -B package --file pom.xml
84+
- name: Execute the HelloWorld app
85+
run: |
86+
$JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED \
87+
-cp target/JoltPhysics-JavaFFM-5.5.0-jar-with-dependencies.jar \
88+
volucris.bindings.jolt.HelloWorld
7189
72-
Windows:
90+
Windows_x64:
7391
runs-on: windows-2025
7492
steps:
7593
- uses: actions/checkout@v7

0 commit comments

Comments
 (0)