Skip to content

Commit 59c143b

Browse files
authored
Add Windows matrix build (#106)
* Add windows-latest to matrix build * Restrict windows builds to java 8 and 21
1 parent f3b4df0 commit 59c143b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,20 @@ jobs:
4444
build-jdo:
4545
name: Build JDO & Run TCK
4646
needs: format-check
47-
runs-on: ubuntu-latest
4847
strategy:
4948
matrix:
5049
# run different builds with the listed java versions
5150
java: [ 8, 11, 17, 21 ]
51+
# run different builds with the listed java versions
52+
os: [ ubuntu-latest, windows-latest ]
53+
exclude:
54+
- os: windows-latest
55+
java: 11
56+
- os: windows-latest
57+
java: 17
5258
# continue to run other matrix builds if one of them fails
5359
fail-fast: false
60+
runs-on: ${{ matrix.os }}
5461
defaults:
5562
run:
5663
shell: bash

0 commit comments

Comments
 (0)