Skip to content

Commit

Permalink
Add Windows native build
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger authored and cushon committed Feb 16, 2024
1 parent 59b09fa commit b9b41fa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
Expand All @@ -104,8 +104,13 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: "true"
cache: "maven"
- name: "Native"
run: mvn -Pnative -DskipTests package -pl core -am && util/test-native.sh
- name: "Native Build"
run: mvn -Pnative -DskipTests package -pl core -am
- name: "Native Test"
# Bash script for testing won't work on Windows
# TODO: Anyone reading this wants to write a *.bat or *.ps1 equivalent?
if: ${{ matrix.os != 'windows-latest' }}
run: util/test-native.sh

publish_snapshot:
name: "Publish snapshot"
Expand Down

0 comments on commit b9b41fa

Please sign in to comment.