-
Notifications
You must be signed in to change notification settings - Fork 0
89 lines (88 loc) · 2.27 KB
/
full-build.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
78
79
80
81
82
83
84
85
86
87
88
89
name: Build Kobots with dependent fork of 'diozero'
on:
push:
branches: [ main ]
paths-ignore:
- "*.md"
- "docs/**"
- "diagrams/**"
pull_request:
branches: [ main ]
paths-ignore:
- "*.md"
- "docs/**"
- "diagrams/**"
workflow_dispatch:
jobs:
build_everything:
runs-on: ubuntu-latest
steps:
- name: Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: "temurin"
# plugins
- name: Checkout build plugins
uses: actions/checkout@v3
with:
repository: EAGrahamJr/gradle-scripts
path: gradle-scripts
- name: Build plugins
run: |
cd gradle-scripts
./gradlew --no-daemon --quiet build publishToMavenLocal
# diozero
- name: Checkout diozero
uses: actions/checkout@v3
with:
repository: EAGrahamJr/diozero
ref: main
path: diozero
- name: Build diozero
run: |
cd diozero
mvn --quiet --batch-mode -DskipTests install
# devices
- name: Checkout devices
uses: actions/checkout@v3
with:
repository: EAGrahamJr/kobots-devices
ref: main
path: kobots-devices
- name: Build devices
run: |
cd kobots-devices
./gradlew --no-daemon --quiet build libraryDistribution
# HA client
- name: Checkout HAssK
uses: actions/checkout@v3
with:
repository: EAGrahamJr/HAssK
ref: main
path: HAssK
- name: Build HAssK
run: |
cd HAssK
./gradlew --no-daemon --quiet build libraryDistribution
# parts
- name: Checkout parts
uses: actions/checkout@v3
with:
repository: EAGrahamJr/kobots-parts
ref: main
path: kobots-parts
- name: Build parts
run: |
cd kobots-parts
./gradlew --no-daemon --quiet build libraryDistribution
# main act
- name: Checkout kobots
uses: actions/checkout@v3
with:
repository: EAGrahamJr/kobots
path: kobots
- name: Build Kobots
run: |
cd kobots
./gradlew --no-daemon --quiet test