Skip to content

Commit 4edbfe7

Browse files
committed
Add GitHub Actions continuous build
Signed-off-by: Jongwoo Han <[email protected]>
1 parent 599d9a8 commit 4edbfe7

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

.github/workflows/build.yaml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
paths-ignore:
9+
- '**.md'
10+
- 'docs/**'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
15+
16+
jobs:
17+
build:
18+
name: Build
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
os:
24+
- ubuntu-latest
25+
- windows-latest
26+
- macos-latest
27+
- macos-13
28+
java-version:
29+
- 8
30+
- 11
31+
- 17
32+
- 21
33+
- 23
34+
# macos-latest drops support for java 8 temurin. Run java 8 on macos-13. Run java 11, 17, 21, 23 on macos-latest.
35+
exclude:
36+
- os: macos-latest
37+
java-version: 8
38+
- os: macos-13
39+
java-version: 11
40+
- os: macos-13
41+
java-version: 17
42+
- os: macos-13
43+
java-version: 21
44+
- os: macos-13
45+
java-version: 23
46+
steps:
47+
- uses: actions/checkout@v4
48+
49+
- name: Set up Java ${{ matrix.java-version }}
50+
uses: actions/setup-java@v4
51+
with:
52+
distribution: 'temurin'
53+
java-version: ${{ matrix.java-version }}
54+
cache: 'maven'
55+
56+
- name: Build with Maven
57+
run: >
58+
mvn -B package
59+
-DskipTests

0 commit comments

Comments
 (0)