build: add Docker support for building the firmware #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build code | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc) | |
uses: carlosperate/arm-none-eabi-gcc-action@v1 | |
- name: Check toolchain | |
run: arm-none-eabi-gcc --version | |
- name: Build | |
run: make | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
Source/build/*.hex | |
Source/build/*.bin | |
Source/build/*.map |