Fix esp32 ci build

`readable_run export ` do not export variable for the environment

Used direct export instead.

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
This commit is contained in:
Vikram Dattu 2020-12-02 15:42:37 +05:30
parent 8cc8f71755
commit ddec0c9b03

View File

@ -28,8 +28,9 @@ source tensorflow/lite/micro/tools/ci_build/helper_functions.sh
TARGET=esp
# setup esp-idf and toolchains
echo "Checking out esp-idf..."
readable_run git clone --recursive --single-branch --branch release/v4.2 https://github.com/espressif/esp-idf.git
readable_run export IDF_PATH="${ROOT_DIR}"/esp-idf
export IDF_PATH="${ROOT_DIR}"/esp-idf
cd $IDF_PATH
readable_run ./install.sh
readable_run . ./export.sh