Skip to content

Commit c67cc06

Browse files
committed
tools(ci): Add script to compile all examples by make and cmake
1 parent 3abbe07 commit c67cc06

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tools/ci/build_all.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# Build makefile examples
4+
5+
mkdir -p build_log
6+
export LOG_PATH=`pwd`/build_log
7+
8+
mkdir -p build_examples
9+
cd build_examples
10+
11+
mkdir -p ${LOG_PATH}
12+
${IDF_PATH}/tools/ci/build_examples.sh
13+
14+
# Build cmake examples
15+
16+
mkdir -p build_log_cmake
17+
export LOG_PATH=`pwd`/build_log_cmake
18+
19+
mkdir -p build_examples_cmake
20+
cd build_examples_cmake
21+
22+
mkdir -p ${LOG_PATH}
23+
${IDF_PATH}/tools/ci/build_examples_cmake.sh

0 commit comments

Comments
 (0)