Skip to content

Commit 6da1d02

Browse files
committed
CI for JDK 21
1 parent 63e4e76 commit 6da1d02

25 files changed

Lines changed: 3228 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Continuous Integration
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
7+
8+
jobs:
9+
10+
test_os:
11+
name: OS ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, macOS-latest, windows-latest]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Setup Java
20+
uses: actions/setup-java@v3
21+
with:
22+
distribution: 'zulu'
23+
java-version: '21'
24+
cache: 'maven'
25+
- name: Library
26+
run: ./mvnw $MAVEN_ARGS -DskipTests clean package javadoc:javadoc
27+
working-directory: ./java-does-usb
28+
- name: Example bulk_transfer
29+
run: ./mvnw $MAVEN_ARGS clean compile
30+
working-directory: ./examples/bulk_transfer
31+
- name: Example enumerate
32+
run: ./mvnw $MAVEN_ARGS clean compile
33+
working-directory: ./examples/enumerate
34+
- name: Example monitor
35+
run: ./mvnw $MAVEN_ARGS clean compile
36+
working-directory: ./examples/monitor
37+
- name: Example stm_dfu
38+
run: ./mvnw $MAVEN_ARGS clean compile
39+
working-directory: ./examples/stm_dfu
40+
- name: Example epaper_display
41+
run: ./mvnw $MAVEN_ARGS clean compile
42+
working-directory: ./examples/epaper_display
61.1 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

examples/bulk_transfer/mvnw

Lines changed: 308 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)