-
Notifications
You must be signed in to change notification settings - Fork 36
58 lines (46 loc) · 1.77 KB
/
check.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
46
47
48
49
50
51
52
53
54
55
56
57
name: Check
on:
push:
branches:
- master
pull_request:
jobs:
tests:
strategy:
matrix:
gradle-properties-version: [ 242, 243 ]
platform-type: [ RR, PC ]
runs-on: ubuntu-latest
env:
ORG_GRADLE_PROJECT_shortPlatformVersion: ${{ matrix.gradle-properties-version }}
ORG_GRADLE_PROJECT_platformType: ${{ matrix.platform-type }}
steps:
- name: Free disk space in the runner before build
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew assemble --stacktrace -Pkotlin.incremental=false
- name: Tests
run: ./gradlew test --stacktrace -Pkotlin.incremental=false
- name: Verify plugin.xml
run: ./gradlew verifyPluginConfiguration
- name: Verify plugin
run: ./gradlew verifyPlugin