bisq/.github/workflows/build.yml

46 lines
1.1 KiB
YAML
Raw Normal View History

name: Build Bisq
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
2022-03-02 20:37:34 +05:30
permissions:
contents: read
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@2541b1294d2704b0964813337f33b291d3f8596b
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
lfs: true
- name: Set up JDK
uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
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