Skip to content

Commit f7d22f7

Browse files
committed
GitHub Actions build
1 parent eac39c5 commit f7d22f7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build and test
2+
on:
3+
push:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
java: [ '8' ]
11+
architecture: [ 'x64' ]
12+
name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup JDK
16+
uses: actions/setup-java@v4
17+
with:
18+
distribution: 'temurin'
19+
java-version: ${{ matrix.java }}
20+
architecture: ${{ matrix.architecture }}
21+
cache: 'gradle'
22+
23+
- uses: gradle/actions/setup-gradle@v3
24+
25+
- name: Build
26+
run: ./gradlew check --info --warning-mode all
27+
28+
- name: Codecov
29+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)