Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 7c39829

Browse files
committed
CI testing on windows and macos
- Test with all platforms - Relates #182
1 parent 2a16758 commit 7c39829

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include:
18+
- nickname: macos
19+
os: macos-latest
20+
- nickname: linux
21+
os: ubuntu-latest
22+
- nickname: windows
23+
os: windows-latest
1424
name: CI Build
1525
steps:
1626
- uses: actions/checkout@v2
@@ -20,13 +30,9 @@ jobs:
2030
java-version: 17
2131
cache: gradle
2232
- run: ./gradlew build --no-daemon
23-
- uses: actions/upload-artifact@v3
24-
with:
25-
path: build/libs/*.jar
26-
retention-days: 1
2733
- uses: actions/upload-artifact@v3
2834
if: ${{ failure() }}
2935
with:
30-
name: buildreports
36+
name: buildreports-${{ matrix.nickname }}
3137
path: build/reports
3238
retention-days: 1

0 commit comments

Comments
 (0)