Skip to content

Commit

Permalink
put dev push actions into a single workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 20, 2024
1 parent 5005163 commit 6d57415
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 15 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build-all-binaries.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,45 @@
name: firmware build
name: build all binaries

on:
push:
branches:
- dev
workflow_call:

jobs:
build-dada-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: dada

build-bba2-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: bba2

build-bba1-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: bba1

build-mk2-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: mk2

build-aem-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: aem

build-str-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: str

build-v2-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: v2

build-v1-firmware:
uses: ./.github/workflows/build_firmware.yml
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: v1
4 changes: 1 addition & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: documentation

on:
push:
branches:
- dev
workflow_call:

jobs:
build:
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: dev build all

on:
push:
branches:
- dev

jobs:
build-all-binaries:
uses: ./.github/workflows/build-all-binaries.yml

deploy-documentation:
needs: build-all-binaries
uses: ./.github/workflows/build-docs.yml

0 comments on commit 6d57415

Please sign in to comment.