-
Notifications
You must be signed in to change notification settings - Fork 16
59 lines (58 loc) · 1.23 KB
/
continuous-integration.yaml
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
50
51
52
53
54
55
56
57
58
59
name: Build Main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
strategy:
max-parallel: 2
matrix:
java:
- '11'
- '17'
os:
- ubuntu-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- name: Fetch Sources
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build
run: |
./gradlew -S -Pskip.signing assemble
./gradlew -S -Pskip.signing check
build-windows:
name: Build on Windows
runs-on: windows-latest
strategy:
fail-fast: false
max-parallel: 2
matrix:
java:
- '11'
- '17'
steps:
- name: Fetch Sources
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Assemble
shell: cmd
run: |
gradlew.bat -S -Pskip.signing assemble
gradlew.bat -S -Pskip.signing check