ESP32 CI: Use correct board name

This commit is contained in:
Themba Dube 2021-02-20 18:06:08 -05:00
parent 52037a30b4
commit 797aa3c25a

View File

@ -9,22 +9,25 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container:
image: espressif/idf:release-v4.0
strategy: strategy:
matrix: matrix:
board: [WROVER_SPIRAM] board: [GENERIC_SPIRAM]
steps: steps:
- name: Install Git
run: |
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install -y git
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: Install ESPIDF
run: |
git clone https://github.com/espressif/esp-idf.git
git -C esp-idf checkout v4.0.2
git -C esp-idf submodule update --init \
components/bt/controller/lib \
components/bt/host/nimble/nimble \
components/esp_wifi/lib_esp32 \
components/esptool_py/esptool \
components/lwip/lwip \
components/mbedtls/mbedtls
./esp-idf/install.sh
- name: Set ESPIDF path - name: Set ESPIDF path
run: echo "ESPIDF=$IDF_PATH" >> $GITHUB_ENV run: echo "ESPIDF=$PWD/esp-idf" >> $GITHUB_ENV
- name: Update submodules - name: Update submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: Build mpy-cross - name: Build mpy-cross