-
Notifications
You must be signed in to change notification settings - Fork 12
29 lines (24 loc) · 892 Bytes
/
build.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
name: build
# https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/adding-a-workflow-status-badge
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: build docker image
run: cd misc/docker/kravis_test/ && docker build --progress=plain -t kravis_test .
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and test with Gradle
# https://stackoverflow.com/questions/50104666/gradle-difference-between-test-and-check
# https://stackoverflow.com/questions/50104666/gradle-difference-between-test-and-check
run: ./gradlew clean check --stacktrace --info