37 lines
750 B
YAML
37 lines
750 B
YAML
name: Java
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
tests:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: "11"
|
|
- name: Build blst
|
|
run: |
|
|
cd src
|
|
make blst
|
|
- name: Build and Test (mainnet preset)
|
|
run: |
|
|
cd bindings/java
|
|
make build test
|
|
- name: Build and Test (minimal preset)
|
|
run: |
|
|
cd bindings/java
|
|
make PRESET=minimal build test
|