Merge pull request #263 from brilliantlabsAR/dev #274
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_on_push | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
mcu_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi | |
- name: Bootstrap the dependencies | |
run: | | |
git submodule update --init | |
git -C micropython submodule update --init lib/micropython-lib | |
- name: Build the firmware | |
run: | | |
make |