Skip to content

Commit 7a5e26f

Browse files
author
Gao Wei
committed
ci: remove idf v4.1 v4.2 build
1 parent 5889d3b commit 7a5e26f

File tree

1 file changed

+1
-63
lines changed

1 file changed

+1
-63
lines changed

.gitlab/ci/build-examples.yml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -25,45 +25,7 @@
2525
interruptible: true
2626
when: always
2727

28-
# same as above, but for CMake
29-
.build_examples_cmake: &build_examples_cmake
30-
extends: .build_template
31-
parallel: 8
32-
artifacts:
33-
when: always
34-
paths:
35-
- build_examples/list.json
36-
- build_examples/list_job_*.json
37-
- build_examples/*/*/*/sdkconfig
38-
- build_examples/*/*/*/build/*.bin
39-
- build_examples/*/*/*/build/*.elf
40-
- build_examples/*/*/*/build/*.map
41-
- build_examples/*/*/*/build/flasher_args.json
42-
- build_examples/*/*/*/build/bootloader/*.bin
43-
- build_examples/*/*/*/build/partition_table/*.bin
44-
- $LOG_PATH
45-
expire_in: 4 days
46-
variables:
47-
LOG_PATH: "$CI_PROJECT_DIR/log_examples"
48-
BUILD_PATH: "$CI_PROJECT_DIR/build_examples"
49-
script:
50-
# it's not possible to build 100% out-of-tree and have the "artifacts"
51-
# mechanism work, but this is the next best thing
52-
- cmake --version
53-
- mkdir -p ${BUILD_PATH}
54-
- mkdir -p ${LOG_PATH}
55-
- echo "The IDF branch is "${IDF_VERSION}
56-
- $ADF_PATH/tools/ci/set_idf.sh ${IDF_VERSION}
57-
- *setup_tools_unless_target_test
58-
- export PEDANTIC_CFLAGS="-Werror -Wno-implicit-fallthrough"
59-
- export EXTRA_CFLAGS=${PEDANTIC_CFLAGS} && export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
60-
- ${ADF_PATH}/tools/ci/build_examples_cmake.sh
61-
# Check if the tests demand CMake built binaries. If not, delete them
62-
- if [ "$EXAMPLE_TEST_BUILD_SYSTEM" == "cmake" ]; then exit 0; fi
63-
- cd ..
64-
- rm -rf build_examples
65-
66-
# same as above, but for v4.4
28+
# same as above, but for v4.4 CMake
6729
.build_examples_cmake_v44: &build_examples_cmake_v44
6830
<<: *build_template_v44
6931
parallel: 7
@@ -124,30 +86,6 @@
12486
# - cd ..
12587
# - rm build_examples/*/*/*/build -r
12688

127-
build_examples_v41_default_board_cmake:
128-
image: $ADF_DOCKER_REGISTRY/env_v4.4:1
129-
extends:
130-
- .rules:build:adf_idfs_example_test
131-
- .build_examples_cmake
132-
variables:
133-
IDF_TARGET: esp32
134-
IDF_VERSION: release/v4.1
135-
SDKCFG_DEFAULTS: "sdkconfig.defaults.esp32"
136-
AUDIO_HAL: ESP_LYRAT_V4_3
137-
IDF_FIND_APP_PATH_ARG: ""
138-
139-
build_examples_v42_default_board_cmake:
140-
image: $ADF_DOCKER_REGISTRY/env_v4.4:1
141-
extends:
142-
- .rules:build:adf_idfs_example_test
143-
- .build_examples_cmake
144-
variables:
145-
IDF_TARGET: esp32
146-
IDF_VERSION: release/v4.2
147-
SDKCFG_DEFAULTS: "sdkconfig.defaults.esp32"
148-
AUDIO_HAL: ESP_LYRAT_V4_3
149-
IDF_FIND_APP_PATH_ARG: ""
150-
15189
build_examples_v43_esp32_lyrat_v4_3_cmake:
15290
extends:
15391
- .rules:build:adf_idfs_example_test

0 commit comments

Comments
 (0)