Skip to content

Commit

Permalink
Test firmware builds for certain older boards
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed May 29, 2024
1 parent 50929e5 commit 1ff1071
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ jobs:
- 'cynthion'
- 'samd11_xplained'
- 'qtpy'
- 'cynthion r0.2'
- 'cynthion r0.4'
include:
- target-board: 'cynthion r0.2'
board-major: 0
board-minor: 2
- target-board: 'cynthion r0.4'
board-major: 0
board-minor: 4
steps:
- name: Install ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
Expand All @@ -24,7 +33,14 @@ jobs:
- name: Build Apollo firmware for ${{ matrix.target-board }}
run: |
cd firmware
APOLLO_BOARD=${{ matrix.target-board }} make get-deps all
if [ -n "${{ matrix.board-major }}" ]; then
export BOARD_REVISION_MAJOR=${{ matrix.board-major }}
export BOARD_REVISION_MINOR=${{ matrix.board-minor }}
export APOLLO_BOARD="cynthion"
else
export APOLLO_BOARD=${{ matrix.target-board }}
fi
make get-deps all
# Publish bootloader binary for latest Cynthion hardware revision
- name: Publish Artifacts
Expand Down

0 comments on commit 1ff1071

Please sign in to comment.