-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 928 Bytes
/
ci.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
name: CI
on:
push:
paths:
- 'src/**'
- 'build.gradle'
- '.github/workflows/ci.yml'
pull_request:
paths:
- 'src/**'
- 'build.gradle'
- '.github/workflows/ci.yml'
jobs:
matrix_build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macOS-latest, windows-latest]
java: [ 1.8, 10, 11, 12]
#TODO fix 13
name: Java ${{ matrix.java }} Build on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v1
- name: Setup java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
# gradle:
- uses: eskatos/gradle-command-action@v1
with:
gradle-version: current
arguments: test --warning-mode all
# gradlew:
- name: build with gradlew
run: ./gradlew test --warning-mode all