Skip to content

Commit

Permalink
github: Switched to all_platforms firmware target.
Browse files Browse the repository at this point in the history
  • Loading branch information
esden committed Jun 4, 2022
1 parent f97047b commit 2ab1c20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 12 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,22 @@ 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

- 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

0 comments on commit 2ab1c20

Please sign in to comment.