Skip to content

Commit 3888661

Browse files
committed
Extend build workflow to run tests on macOS with/without JNA
1 parent 2c08675 commit 3888661

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
os:
1616
- image: ubuntu-latest
1717
- image: macos-latest
18-
argLine: -Dengineering.swat.java-watch.mac=jdk
18+
mac-backend: jdk
1919
- image: macos-latest
20-
argLine: -Dengineering.swat.java-watch.mac=jna
20+
mac-backend: jna
2121
- image: windows-latest
2222
jdk: [11, 17, 21]
2323

@@ -34,7 +34,7 @@ jobs:
3434
cache: 'maven'
3535

3636
- name: test
37-
run: mvn -B clean test -DargLine="${{ matrix.os.argLine }}"
37+
run: mvn -B clean test -DargLine="-Dengineering.swat.java-watch.mac=${{ matrix.os.mac-backend }}"
3838
env:
3939
DELAY_FACTOR: 3
4040

0 commit comments

Comments
 (0)