-
Notifications
You must be signed in to change notification settings - Fork 23
39 lines (30 loc) · 973 Bytes
/
desktop_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Test Desktop
on:
push:
branches: [ "desktop_support" ]
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
config: [
{ target: macos, os: macos-latest, tasks: jvmTest},
{ target: linux, os: ubuntu-latest, tasks: jvmTest},
{ target: windows, os: windows-latest, tasks: jvmTest},
]
runs-on: ${{ matrix.config.os }}
name: Testing on ${{ matrix.config.target }}
steps:
- uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup gradle
uses: gradle/[email protected]
- name: Test ${{ matrix.config.target }} targets
continue-on-error: true
run: ./gradlew ${{ matrix.config.tasks }}