mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-27 20:27:43 +08:00
Merge branch 'tools/test_all_examples_compiling' into 'master'
tools(ci): Add script to compile all examples by make and cmake See merge request sdk/ESP8266_RTOS_SDK!1532
This commit is contained in:
23
tools/ci/build_all.sh
Normal file
23
tools/ci/build_all.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Build makefile examples
|
||||||
|
|
||||||
|
mkdir -p build_log
|
||||||
|
export LOG_PATH=`pwd`/build_log
|
||||||
|
|
||||||
|
mkdir -p build_examples
|
||||||
|
cd build_examples
|
||||||
|
|
||||||
|
mkdir -p ${LOG_PATH}
|
||||||
|
${IDF_PATH}/tools/ci/build_examples.sh
|
||||||
|
|
||||||
|
# Build cmake examples
|
||||||
|
|
||||||
|
mkdir -p build_log_cmake
|
||||||
|
export LOG_PATH=`pwd`/build_log_cmake
|
||||||
|
|
||||||
|
mkdir -p build_examples_cmake
|
||||||
|
cd build_examples_cmake
|
||||||
|
|
||||||
|
mkdir -p ${LOG_PATH}
|
||||||
|
${IDF_PATH}/tools/ci/build_examples_cmake.sh
|
Reference in New Issue
Block a user