Skip to content

Get jextract in workflow #5

Get jextract in workflow

Get jextract in workflow #5

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main", "test-workflow" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 23
uses: actions/setup-java@v4
with:
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Set up jextract
run: ./prepare-jextract.sh
#TODO cache
- name: Build with Maven
run: mvn -B package --file jgpio/pom.xml -Djextract.bin=../jextract/bin
- name: Build iT with Maven
run: mvn -B package --file jgpio-it/pom.xml
# TODO run IT on remote Orange Pi One Plus
# Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6