Skip to content

Commit b9b41fa

Browse files
vorburgercushon
authored andcommitted
Add Windows native build
1 parent 59b09fa commit b9b41fa

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
strategy:
8787
fail-fast: false
8888
matrix:
89-
os: [ubuntu-latest, macos-latest]
89+
os: [ubuntu-latest, macos-latest, windows-latest]
9090
runs-on: ${{ matrix.os }}
9191
continue-on-error: true
9292
steps:
@@ -104,8 +104,13 @@ jobs:
104104
github-token: ${{ secrets.GITHUB_TOKEN }}
105105
native-image-job-reports: "true"
106106
cache: "maven"
107-
- name: "Native"
108-
run: mvn -Pnative -DskipTests package -pl core -am && util/test-native.sh
107+
- name: "Native Build"
108+
run: mvn -Pnative -DskipTests package -pl core -am
109+
- name: "Native Test"
110+
# Bash script for testing won't work on Windows
111+
# TODO: Anyone reading this wants to write a *.bat or *.ps1 equivalent?
112+
if: ${{ matrix.os != 'windows-latest' }}
113+
run: util/test-native.sh
109114

110115
publish_snapshot:
111116
name: "Publish snapshot"

0 commit comments

Comments
 (0)