mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 17:26:28 +01:00
As of June 13, 2023, GraalVM versioning has changed and now matches the versioning system of the JDK. The latest release of GraalVM for JDK 17 is now 17.0.7.
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: GraalVM Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 15
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macOS-latest]
|
|
java-version: [ '17' ]
|
|
distribution: [ 'graalvm-community' ]
|
|
gradle: ['7.6.1']
|
|
fail-fast: false
|
|
name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }}
|
|
steps:
|
|
- name: Git checkout
|
|
uses: actions/checkout@v1
|
|
- name: Set up GraalVM
|
|
uses: graalvm/setup-graalvm@v1
|
|
with:
|
|
java-version: ${{ matrix.java-version }}
|
|
distribution: ${{ matrix.distribution }}
|
|
components: 'native-image'
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build with Gradle
|
|
uses: gradle/gradle-build-action@v2.4.2
|
|
with:
|
|
gradle-version: ${{ matrix.gradle }}
|
|
arguments: test nativeCompile --info --stacktrace
|
|
- name: Upload wallet-tool as artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: wallet-tool-${{ matrix.os }}
|
|
path: wallettool/build/native/nativeCompile/wallet-tool
|