Skip to content

Commit aaa7d87

Browse files
committed
Run ci on windows and macos
1 parent 10314ff commit aaa7d87

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

Diff for: .github/workflows/ci-pr.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@ on:
55

66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
99
timeout-minutes: 15
1010
strategy:
1111
fail-fast: false
1212
matrix:
1313
include:
1414
- nickname: linux jdk17
1515
java: 17
16-
disable-samples: true
16+
os: ubuntu-latest
17+
- nickname: macos jdk17
18+
java: 17
19+
os: macos-latest
20+
- nickname: windows jdk17
21+
java: 17
22+
os: windows-latest
1723
name: CI PR ${{ matrix.nickname }}
1824
steps:
1925
- uses: actions/checkout@v3
@@ -23,6 +29,4 @@ jobs:
2329
java-version: ${{ matrix.java }}
2430
cache: gradle
2531
- name: Build
26-
env:
27-
DISABLE_SAMPLES: ${{ matrix.disable-samples }}
2832
run: ./gradlew build

Diff for: .github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
1212
strategy:
1313
fail-fast: false
1414
matrix:
1515
include:
1616
- nickname: linux jdk17
1717
java: 17
18+
os: ubuntu-latest
19+
- nickname: macos jdk17
20+
java: 17
21+
os: macos-latest
22+
- nickname: windows jdk17
23+
java: 17
24+
os: windows-latest
1825
name: CI Build ${{ matrix.nickname }}
1926
steps:
2027
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)