Skip to content

Upgrade to ConsensusJ 0.7.0-alpha3 #494

Upgrade to ConsensusJ 0.7.0-alpha3

Upgrade to ConsensusJ 0.7.0-alpha3 #494

Workflow file for this run

name: GraalVM Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
java-version: [ '21' ]
distribution: [ 'graalvm-community' ]
fail-fast: false
name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }}
steps:
- name: Git checkout
uses: actions/checkout@v3
- 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: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build with Gradle
run: ./gradlew :omnij-cli:nativeCompile --scan --info --stacktrace
- name: Upload omnij-consensus-tool as artifact
uses: actions/upload-artifact@v3
with:
name: omnij-consensus-tool-${{ matrix.os }}
path: omnij-cli/build/omnij-consensus-tool