Skip to content

Gradle (Wrapper) 8.6 #892

Gradle (Wrapper) 8.6

Gradle (Wrapper) 8.6 #892

Workflow file for this run

name: Bitcoin Core RegTest
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [ '17', '21-ea' ]
distribution: ['temurin']
fail-fast: false
name: ${{ matrix.os }} JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Download Omni Core (Bitcoin Core superset)
run: ./test-download-omnicore-ubuntu.sh
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Run RegTests
run: ./test-run-regtest.sh
- name: Upload RegTest results as artifact
uses: actions/upload-artifact@v4
if: failure()
with:
name: regtest-consensusj-jdk${{ matrix.java }}-${{ matrix.os }}-reports
path: |
cj-btc-jsonrpc-integ-test/build/reports/tests/regTest
cj-btc-cli/build/reports/tests/regTest