Skip to content

Commit

Permalink
Test on multiple OSes
Browse files Browse the repository at this point in the history
Fixes #125
  • Loading branch information
dmlloyd committed Jul 3, 2024
1 parent 2bed15a commit 16725ed
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Check out project
uses: actions/checkout@v4

- name: Set up JDKs
uses: actions/setup-java@v4
with:
Expand All @@ -24,5 +28,6 @@ jobs:
11
17
21
- name: Build with Maven
run: mvn verify -ntp -B -Djava11.home=$JAVA_HOME_11_X64 -Djava17.home=$JAVA_HOME_17_X64
run: mvn verify -ntp -B "-Djava11.home=${{env.JAVA_HOME_11_X64}}${{env.JAVA_HOME_11_ARM64}}" "-Djava17.home=${{env.JAVA_HOME_17_X64}}${{env.JAVA_HOME_17_ARM64}}"

0 comments on commit 16725ed

Please sign in to comment.