Merge pull request #5 from AnshumanFauzdar/dependabot/pip/firmware/te… #31
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: nuttx | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build: | |
runs-on: ubuntu-latest | |
if: "contains(github.event.head_commit.message, 'nuttx')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install MAKE | |
run: sudo apt-get -y install make | |
- name: install dependencies | |
run: sudo apt-get install git gperf libncurses5-dev flex bison gcc-arm-none-eabi | |
- name: install kconfig-frontends | |
run: sudo apt-get install kconfig-frontends | |
- name: git clone SDK | |
run: git clone --recursive https://github.com/sonydevworld/spresense.git | |
- name: change directory to sdk folder | |
run: cd spresense/sdk | |
- name: set configuration | |
run: tools/config.py examples/hello | |
- name: compile SDK | |
run: make |