-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (29 loc) · 936 Bytes
/
ci.yaml
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
name: CI
on: [pull_request, push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest ] #, windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- run: ./gradlew clean build --stacktrace -Pnosign -PisCI
# - name: 'Run Linux Tests'
# if: matrix.os == 'ubuntu-latest'
# run: ./gradlew clean build --stacktrace -PisCI -Pnosign
#
# - name: 'Run MacOS Tests'
# if: matrix.os == 'macOS-latest'
# run: ./gradlew clean build --stacktrace -PisCI -Pnosign
#
# - name: 'Run windows tests'
# if: matrix.os == 'windows-latest'
# run: ./gradlew mingwX64Test --stacktrace -PisCI -Pnosign