build(deps): bump benc-uk/workflow-dispatch from a69ac85ea87587e76bb4f262eb868205dfcab8e8 to e2e5e9a103e331dad343f381a29e654aea3cf8fc #7
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: stm32 port | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
board: [STM32F7DISC] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: arm-none-eabi-gcc | |
uses: carlosperate/[email protected] | |
with: | |
release: '9-2019-q4' # The arm-none-eabi-gcc release to use. | |
- name: Update submodules | |
run: git submodule update --init --recursive | |
- name: Build mpy-cross | |
run: make -j $(nproc) -C mpy-cross | |
- name: Build ${{ matrix.board }} | |
run: make -j $(nproc) -C ports/stm32 BOARD=${{ matrix.board }} | |
- uses: actions/upload-artifact@v2 | |
if: ${{ env.GITHUB_EVENT_NAME }} == 'push' | |
with: | |
name: ${{ matrix.board }}.hex | |
path: ports/stm32/build-${{ matrix.board }}/firmware.hex |