Skip to content

Move stuff to show off junk #163

Move stuff to show off junk

Move stuff to show off junk #163

Workflow file for this run

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