forked from bitcoinj/bitcoinj
-
Notifications
You must be signed in to change notification settings - Fork 27
32 lines (30 loc) · 913 Bytes
/
gradle.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
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [ '8', '11', '15' ]
fail-fast: false
name: JAVA ${{ matrix.java }} OS ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
uses: gradle/gradle-build-action@v1
with:
gradle-version: 6.9
arguments: build --stacktrace
- name: Upload Test Results and Reports
uses: actions/upload-artifact@v2
if: always()
with:
name: bitcoinj-core-test-results-jdk${{ matrix.java }}-${{ matrix.os }}
path: |
core/build/reports/tests/test/
core/build/test-results/test/