github: Switched to all_platforms firmware target.

This commit is contained in:
Piotr Esden-Tempski 2022-06-03 17:47:52 -07:00
parent f97047b5f5
commit 2ab1c20f16
2 changed files with 15 additions and 8 deletions

View File

@ -25,12 +25,12 @@ jobs:
- uses: numworks/setup-arm-toolchain@2020-q4
# Runs a single command using the runners shell
- name: Build
run: make
- name: Build all platform firmwares
run: make all_platforms
- name: Archive firmware build artifacts as a zip
uses: actions/upload-artifact@v2.2.4
with:
name: blackmagic-firmware.zip
path: src/blackmagic*
path: src/artifacts/*
if-no-files-found: error

View File

@ -24,9 +24,16 @@ jobs:
# Use embedded toolchain
- uses: numworks/setup-arm-toolchain@2020-q4
# Run some of the most common build types
- name: Build native fw
run: make
# Build all the firmwares
- name: Build all platform firmwares
run: make all_platforms
- name: Clean
run: make clean
# Build Black Magic Debug App variants
- name: Build BMDA BMP Only
run: make PROBE_HOST=hosted HOSTED_BMP_ONLY=1
- name: Clean
run: make clean
@ -34,5 +41,5 @@ jobs:
- name: Install BMP PC hosted dependencies
run: sudo apt-get -y install libftdi1-dev libhidapi-dev
- name: Build PC hosted binary
run: make PROBE_HOST=hosted
- name: Build BMDA binary
run: make PROBE_HOST=hosted