Skip to content

Commit 0b8bff8

Browse files
authored
Merge pull request #3489 from hathach/update-memborwse-ci
Update memborwse ci
2 parents a0982cd + 8a6012b commit 0b8bff8

File tree

12 files changed

+239
-733
lines changed

12 files changed

+239
-733
lines changed

.circleci/config2.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ commands:
110110
no_output_timeout: 20m
111111
command: |
112112
if [ << parameters.toolchain >> == esp-idf ]; then
113-
docker run --rm -v $PWD:/project -w /project espressif/idf:v5.3.2 python tools/build.py << parameters.build-args >> << parameters.family >>
113+
docker run --rm -v $PWD:/project -w /project espressif/idf:v5.3.2 python tools/build.py << parameters.build-args >> --target all << parameters.family >>
114114
else
115115
# Toolchain option default is gcc
116116
if [ << parameters.toolchain >> == arm-clang ]; then
@@ -124,7 +124,11 @@ commands:
124124
125125
# circleci docker return $nproc as 36 core, limit parallel to 4 (resource-class = large)
126126
# Required for IAR, also prevent crashed/killed by docker
127-
python tools/build.py -s << parameters.build-system >> $TOOLCHAIN_OPTION -j 4 << parameters.build-args >> << parameters.family >>
127+
BUILD_PY_ARGS="-s << parameters.build-system >> $TOOLCHAIN_OPTION -j 4 << parameters.build-args >> --target all"
128+
if [ << parameters.build-system >> == "cmake" ]; then
129+
BUILD_PY_ARGS="$BUILD_PY_ARGS --target tinyusb_metrics"
130+
fi
131+
python tools/build.py $BUILD_PY_ARGS << parameters.family >>
128132
fi
129133
130134
# Only collect and persist metrics for cmake builds (excluding esp-idf and --one-random)

.github/actions/get_deps/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ runs:
2222
NINJA_URL=https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-linux.zip
2323
wget $NINJA_URL -O ninja-linux.zip
2424
unzip ninja-linux.zip -d ninja-bin
25+
pip install membrowse
2526
echo >> $GITHUB_PATH "${{ github.workspace }}/ninja-bin"
2627
shell: bash
2728

0 commit comments

Comments
 (0)