Skip to content

Commit

Permalink
Publish firmware binary artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed May 29, 2024
1 parent 37885d7 commit 50929e5
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ jobs:
steps:
- name: Install ARM GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '12.2.Rel1'

- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: true
fetch-depth: 0

- name: Build Apollo firmware for ${{ matrix.target-board }}
run: |
cd firmware
APOLLO_BOARD=${{ matrix.target-board }} make get-deps all
# Publish bootloader binary for latest Cynthion hardware revision
- name: Publish Artifacts
uses: actions/upload-artifact@v4
with:
name: firmware-binaries
path: |
firmware/_build/cynthion_d11/firmware.bin
firmware/_build/cynthion_d11/firmware.elf
if: matrix.target-board == 'cynthion'

0 comments on commit 50929e5

Please sign in to comment.