2020-11-29 02:05:45 -05:00
|
|
|
name: esp32 port
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'extmod/**'
|
|
|
|
- 'lib/**'
|
|
|
|
- 'drivers/**'
|
|
|
|
- 'ports/esp32/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
idf3_build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install packages
|
2020-12-13 21:05:43 -05:00
|
|
|
run: source tools/ci.sh && ci_esp32_idf3_setup && ci_esp32_idf3_path >> $GITHUB_PATH
|
2020-11-29 02:05:45 -05:00
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
IDF_PATH: ${{ github.workspace }}/esp-idf
|
|
|
|
run: source tools/ci.sh && ci_esp32_idf3_build
|
|
|
|
|
|
|
|
idf4_build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install packages
|
2020-12-13 21:05:43 -05:00
|
|
|
run: source tools/ci.sh && ci_esp32_idf4_setup && ci_esp32_idf4_path >> $GITHUB_PATH
|
2020-11-29 02:05:45 -05:00
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
IDF_PATH: ${{ github.workspace }}/esp-idf
|
|
|
|
run: source tools/ci.sh && ci_esp32_idf4_build
|