-
Notifications
You must be signed in to change notification settings - Fork 13
41 lines (38 loc) · 919 Bytes
/
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
name: build
on:
push:
branches: [ master ]
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- 'examples/'
- 'art/'
- '.run/'
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened, ready_for_review ]
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
- 'examples/'
- 'art/'
- '.run/'
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Java JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Grant gradlew execution permissions
run: chmod +x gradlew
- name: Start Gradle
run: ./gradlew
- name: Test JVM Target
run: ./gradlew core:jvmTest
- name: Test JS Target
run: ./gradlew core:jsTest