-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (49 loc) · 1.36 KB
/
gradle.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
name: check
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
java: [17]
runs-on: ${{ matrix.os }}
env:
NO_FS_ROOTS_ACCESS_CHECK: true
steps:
- uses: actions/checkout@v2
with:
path: intellij-arend
- uses: actions/checkout@v2
with:
repository: JetBrains/Arend
path: Arend
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: false
cache-disabled: true
build-root-directory: intellij-arend
wrapper-directory: intellij-arend
arguments: clean test --info --no-daemon --stacktrace
- uses: eskatos/gradle-command-action@v1
# Normally, macOS runs faster than the other two
if: matrix.os == 'macOS-latest' && matrix.java == '17'
with:
wrapper-cache-enabled: false
cache-disabled: true
build-root-directory: intellij-arend
wrapper-directory: intellij-arend
arguments: assemble --info --no-daemon --stacktrace
- uses: actions/upload-artifact@master
if: matrix.os == 'macOS-latest' && matrix.java == '17'
with:
name: Plugin
path: intellij-arend/build/distributions