Merge pull request #75 from francisduvivier/master #193
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: firmware-ESP32 build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Git submodule update | |
run: git submodule update --init --recursive | |
- name: Install Linux packages | |
run: sudo apt update && sudo apt install -y --no-install-recommends gperf python python-serial libffi-dev libsdl2-dev gcc-4.8-plugin-dev libncurses5-dev libncursesw5-dev flex bison | |
- name: Unzip toolchain | |
run: unzip -p toolchain/xtensa-esp32-elf-linux64.zip xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar | tar xvf - | |
working-directory: firmware-ESP32 | |
- name: Install Python (2) requirements | |
run: pip2 install --user -r esp-idf/requirements.txt | |
working-directory: firmware-ESP32 | |
- name: Build | |
run: ./build.sh | |
working-directory: firmware-ESP32 |