actions: Add main-yml action configuration #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
on: | |
push: | |
branches: | |
- develop | |
- feature/* | |
workflow_dispatch: | |
jobs: | |
build: | |
name: build | |
runs-on: dev1-arm-none | |
steps: | |
- name: arm-none-eabi-gcc GNU Arm Embedded Toolchain | |
uses: carlosperate/arm-none-eabi-gcc-action@v1.8.1 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Select the port | |
run: defconfig config/nwdaq_br28_fdc_defconfig | |
- name: Compile | |
run: scons firmware |