Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 069fa42

Browse files
committed
github: Solve for the case of native having multiple firmware variants that need to be managed seperately as build artefacts
1 parent 14ff228 commit 069fa42

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-and-upload.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ jobs:
9898
meson setup build --cross-file cross-file/${{ matrix.probe }}.ini
9999
meson compile -C build
100100
mkdir src/artefacts
101+
case "${{ matrix.probe }}" in
102+
native-*)
103+
mv build/blackmagic_native_firmware.elf build/blackmagic_${{ matrix.probe }}_firmware.elf
104+
mv build/blackmagic_native_firmware.bin build/blackmagic_${{ matrix.probe }}_firmware.bin
105+
;;
106+
esac
101107
mv build/blackmagic_*_firmware.{elf,bin} src/artefacts
102108
103109
# Package up the artefacts and upload them

0 commit comments

Comments
 (0)