-
Notifications
You must be signed in to change notification settings - Fork 273
45 lines (45 loc) · 1.26 KB
/
CI.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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: '${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java-version }}'
strategy:
matrix:
platform:
- ubuntu-latest
java-distribution:
- adopt-hotspot
- temurin
- zulu
java-version:
- 8
- 11
include:
- platform: windows-latest
java-distribution: adopt-hotspot
java-version: 11
- platform: macos-latest
java-distribution: adopt-hotspot
java-version: 11
runs-on: ${{ matrix.platform }}
timeout-minutes: 45
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Build and Test
run: ./gradlew -S --no-daemon --no-parallel build jacocoAggregateReport coveralls
- name: Lint JavaScript
run: ./gradlew -S --no-daemon --no-parallel :npm_run_lint-js