Bump xChangeVersion from 4.4.2 to 5.2.0 #909
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |