Skip to content

Commit

Permalink
Merge pull request #19 from mndza/github-actions
Browse files Browse the repository at this point in the history
ci: build firmware for supported targets
  • Loading branch information
mndza authored Jul 10, 2023
2 parents 3424b5b + c3f92a5 commit 799b3a2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Firmware
on: [push, pull_request, merge_group]

jobs:
firmware-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target-board:
- 'luna_d11'
- 'luna_d21'
- 'samd11_xplained'
- 'qtpy'
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
with:
submodules: 'recursive'

- name: Build Apollo firmware for ${{ matrix.target-board }}
run: |
cd firmware
APOLLO_BOARD=${{ matrix.target-board }} make all

0 comments on commit 799b3a2

Please sign in to comment.