bisq/.github/workflows/build.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

name: Build Bisq
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
2021-11-16 13:13:09 +01:00
runs-on: ${{ matrix.os }}
strategy:
matrix:
2021-11-18 10:55:13 +01:00
os: [ubuntu-latest, macOS-latest, windows-latest]
2021-11-16 13:13:09 +01:00
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:
2021-11-16 13:13:09 +01:00
java-version: ${{ matrix.java }}
2021-08-28 23:51:44 +02:00
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
2021-11-18 10:55:13 +01:00
- name: Print Dependency Verification Report
if: ${{ failure() }}
run: cat build/reports/dependency-verification/*/*.html
shell: bash