forked from scream3r/java-simple-serial-connector
-
Notifications
You must be signed in to change notification settings - Fork 54
90 lines (70 loc) · 1.97 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: build
on: [push, pull_request]
env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
jobs:
ubuntu:
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
include:
- profile: x86
packages: g++-multilib
- profile: x86_64
packages: g++-
- profile: armhf
packages: g++-arm-linux-gnueabihf
- profile: aarch64
packages: g++-aarch64-linux-gnu
- profile: riscv64
packages: g++-riscv64-linux-gnu
- profile: ppc64
packages: g++-powerpc64le-linux-gnu
- profile: mingw32
packages: g++-mingw-w64-i686
- profile: mingw64
packages: g++-mingw-w64-x86-64
- profile: mingwaarch64
packages: clang
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- run: sudo apt-get update && sudo apt-get install socat ${{ matrix.packages }}
- run: mvn -P "${{ matrix.profile }}" --batch-mode
macos:
runs-on: [macos-latest]
strategy:
fail-fast: false
matrix:
include:
- profile: aarch64
- profile: x86_64
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- run: brew install socat
- run: mvn -P "${{ matrix.profile }}" --batch-mode
windows:
runs-on: [windows-latest]
strategy:
fail-fast: false
matrix:
include:
- profile: aarch64
- profile: x86_64
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- run: mvn -P "${{ matrix.profile }}" --batch-mode