mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Build Bisq
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
|
java: [ '11', '11.0.3', '15', '15.0.5']
|
|
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
|
with:
|
|
fetch-depth: 0
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
lfs: true
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@f0bb91606209742fe3ea40199be2f3ef195ecabf
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
distribution: 'zulu'
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Validate Gradle Wrapper JAR files
|
|
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
|
|
- name: Print Dependency Verification Report
|
|
if: ${{ failure() }}
|
|
run: cat build/reports/dependency-verification/*/*.html
|
|
shell: bash
|