-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1 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
name: build
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
name: Tests
strategy:
matrix:
os: [ubuntu-18.04, macOS-10.15, windows-2019]
java: [8, 11, 16]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
- name: Test
run: mvn clean test --errors --batch-mode
lint:
name: Linters
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Ruby 2.7
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install xcop
run: |
gem install xcop
- name: JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Qulice
run: mvn -P qulice clean install -DskipTests=true --errors --batch-mode
- name: Site
run: mvn -P site clean site --errors --batch-mode