-
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 749 Bytes
/
ci.yml
File metadata and controls
31 lines (29 loc) · 749 Bytes
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
name: CI
on: [push]
jobs:
test:
runs-on: [ubuntu-latest]
strategy:
matrix:
jvm: [8, 11, 14]
steps:
- name: Checkout
uses: actions/checkout@v2.3.0
with:
fetch-depth: 50
- name: Gradle Cache
id: gradle-cache
uses: actions/cache@v2.0.0
with:
path: ~/.gradle/caches
key: jdk${{ matrix.jvm }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
jdk${{ matrix.jvm }}-gradle-
- name: Set up JDK ${{ matrix.jvm }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jvm }}
- name: Gradle Test
run: |
chmod +x ./gradlew
./gradlew test -x javadoc