Skip to content

Commit d0332e5

Browse files
committed
build(ci): update image build workflows and imager JSON generation
Refactor the GitHub Actions build workflow to include a new LVA build job and update image naming conventions for 2MicHat-v1. Refactor the `generate-imager-json.py` script to improve modularity and support new hardware types, including 2MicHat-v1.
1 parent 0ffd061 commit d0332e5

2 files changed

Lines changed: 206 additions & 109 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,19 @@ jobs:
2222
compression-level: 6
2323
custom-hostname: picompose
2424

25+
build-lva:
26+
uses: ./.github/workflows/build-image-template.yml
27+
with:
28+
image-name: PiCompose_Linux-Voice-Assistant
29+
stage-list: stage0 stage1 stage2 ./01-stage-picompose ./02-stage-audiodriver-other ./03-stage-linux-voice-assistant ./04-stage-finish
30+
compression: zip
31+
compression-level: 6
32+
custom-hostname: picompose
2533
# 2MICHAT-v1
2634
build-2michat:
2735
uses: ./.github/workflows/build-image-template.yml
2836
with:
29-
image-name: PiCompose-2MicHat
37+
image-name: PiCompose-2MicHat-v1
3038
stage-list: stage0 stage1 stage2 ./01-stage-picompose ./02-stage-audiodriver-2michat-v1 ./04-stage-finish
3139
compression: xz
3240
compression-level: 6
@@ -35,7 +43,7 @@ jobs:
3543
build-2michat-lva:
3644
uses: ./.github/workflows/build-image-template.yml
3745
with:
38-
image-name: PiCompose_2MicHat_Linux-Voice-Assistant
46+
image-name: PiCompose_2MicHat-v1_Linux-Voice-Assistant
3947
stage-list: stage0 stage1 stage2 ./01-stage-picompose ./02-stage-audiodriver-2michat-v1 ./03-stage-linux-voice-assistant ./04-stage-finish
4048
compression: xz
4149
compression-level: 6
@@ -54,7 +62,7 @@ jobs:
5462
build-respeaker_lite-lva:
5563
uses: ./.github/workflows/build-image-template.yml
5664
with:
57-
image-name: PiCompose_Respeaker-lite_Linux-Voice-Assistant
65+
image-name: PiCompose_Respeaker_lite_Linux-Voice-Assistant
5866
stage-list: stage0 stage1 stage2 ./01-stage-picompose ./02-stage-audiodriver-respeaker_lite ./03-stage-linux-voice-assistant ./04-stage-finish
5967
compression: xz
6068
compression-level: 6

0 commit comments

Comments
 (0)