Skip to content

Commit 93fc9c5

Browse files
committed
CI/CD
1 parent e7281a1 commit 93fc9c5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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: '20'
24+
cache: 'maven'
25+
- name: Test
26+
run: ./mvnw $MAVEN_ARGS -DskipTests clean package javadoc:javadoc
27+
working-directory: ./java-does-usb

0 commit comments

Comments
 (0)