tools/ci.sh: Change esp32 CI to work with idf.py and IDF v4.0.2.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-02-14 10:28:05 +11:00
parent da2b5fa1c1
commit aa3d6b6aa5
2 changed files with 15 additions and 44 deletions
+3 -16
View File
@@ -13,24 +13,11 @@ on:
- 'ports/esp32/**'
jobs:
idf3_build:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install packages
run: source tools/ci.sh && ci_esp32_idf3_setup && ci_esp32_idf3_path >> $GITHUB_PATH
run: source tools/ci.sh && ci_esp32_setup
- 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
run: source tools/ci.sh && ci_esp32_idf4_setup && ci_esp32_idf4_path >> $GITHUB_PATH
- name: Build
env:
IDF_PATH: ${{ github.workspace }}/esp-idf
run: source tools/ci.sh && ci_esp32_idf4_build
run: source tools/ci.sh && ci_esp32_build