-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (37 loc) · 973 Bytes
/
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
40
41
42
43
44
45
46
47
48
49
name: Test
on:
pull_request:
branches:
- master
- development
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install -y fuse libfuse2
- name: Setup JDK 23
uses: actions/setup-java@v4
with:
java-version: '23'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Test
run: ./gradlew test
- name: Build
run: ./gradlew build
- name: Build (AppImage)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./gradlew AppImage
- name: Build (jlink)
run: ./gradlew jlink
- name: Build (jpackage)
run: ./gradlew jpackage