-
Notifications
You must be signed in to change notification settings - Fork 7
77 lines (59 loc) · 1.48 KB
/
gyro.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: gyro
on:
push:
branches:
- master
- release/*
tags:
- release/*
pull_request:
branches:
- master
- release/*
env:
GITHUB_ACTIONS_PULL_REQUEST: ${{ github.event.pull_request.number }}
GRADLE_DEPLOY_USER: ${{ secrets.GRADLE_DEPLOY_USER }}
GRADLE_DEPLOY_PASSWORD: ${{ secrets.GRADLE_DEPLOY_PASSWORD }}
jobs:
build-linux:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew
build-macos:
name: Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew
build-windows:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Set up zip
run: choco install --skip-download-cache zip
- name: Build with Gradle
run: ./gradlew