mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 12:39:23 +00:00
35 lines
798 B
YAML
35 lines
798 B
YAML
|
name: CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- 'docs/**'
|
||
|
- '**/README.md'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||
|
fail-fast: false
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
lfs: true
|
||
|
- name: Set up JDK 11
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
java-version: '11'
|
||
|
distribution: 'adopt'
|
||
|
- name: Pull lfs
|
||
|
run: git lfs pull
|
||
|
- name: Build with Gradle
|
||
|
run: ./gradlew build --stacktrace --scan
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
if: failure()
|
||
|
with:
|
||
|
name: gradlew-report
|
||
|
path: 'desktop/build/reports/tests/test/index.html'
|
||
|
retention-days: 30
|