Skip to content

Commit bb7f563

Browse files
committed
Extend build workflow to run tests on macOS with/without JNA
1 parent e21382d commit bb7f563

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
jdk: [11, 17, 21]
17+
include:
18+
- os: macos-latest
19+
argLine: ["", "-Dengineering.swat.java-watch.mac=jdk"]
20+
1721
fail-fast: false
1822
runs-on: ${{ matrix.os }}
1923
steps:
@@ -27,7 +31,7 @@ jobs:
2731
cache: 'maven'
2832

2933
- name: test
30-
run: mvn -B clean test
34+
run: mvn -B clean test -DargLine="${{ matrix.argLine }}"
3135
env:
3236
DELAY_FACTOR: 3
3337

0 commit comments

Comments
 (0)