Skip to content

Install main jar

Install main jar #7

name: Continuous Integration
on: [push, pull_request]
env:
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
jobs:
test_os:
name: OS ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: '21'
version: latest
- name: Library
run: ./mvnw $MAVEN_ARGS -DskipTests clean install javadoc:javadoc
working-directory: ./java-does-usb
- name: Example bulk_transfer
run: ./mvnw $MAVEN_ARGS clean compile
working-directory: ./examples/bulk_transfer
- name: Example enumerate
run: ./mvnw $MAVEN_ARGS clean compile
working-directory: ./examples/enumerate
- name: Example monitor
run: ./mvnw $MAVEN_ARGS clean compile
working-directory: ./examples/monitor
- name: Example stm_dfu
run: ./mvnw $MAVEN_ARGS clean compile
working-directory: ./examples/stm_dfu
- name: Example epaper_display
run: ./mvnw $MAVEN_ARGS clean compile
working-directory: ./examples/epaper_display