2016-08-22 18:19:08 +08:00
stages :
- build
2017-05-05 20:20:31 +08:00
- assign_test
2018-06-25 10:33:59 +08:00
- host_test
2018-11-26 16:40:32 +08:00
- target_test
2018-08-13 12:35:11 +10:00
- check
2016-08-22 18:19:08 +08:00
- deploy
2018-09-29 14:51:43 +08:00
- post_check
2016-08-22 18:19:08 +08:00
2017-06-07 09:58:35 +08:00
variables :
2017-06-12 15:22:09 +08:00
# System environment
2017-06-07 15:42:36 +08:00
# Common parameters for the 'make' during CI tests
MAKEFLAGS : "-j5 --no-keep-going"
2017-06-12 15:22:09 +08:00
# GitLab-CI environment
# more attempts for more robust
GET_SOURCES_ATTEMPTS : "10"
ARTIFACT_DOWNLOAD_ATTEMPTS : "10"
2019-03-06 19:37:34 +08:00
# We use get-full-sources.sh script to fetch the submodules and/or re-fetch the repo
2017-06-14 17:52:33 +10:00
# if it was corrupted (if submodule update fails this can happen)
GIT_STRATEGY : fetch
GIT_SUBMODULE_STRATEGY : none
2018-08-27 10:48:16 +08:00
UNIT_TEST_BUILD_SYSTEM : make
2017-06-07 15:42:36 +08:00
# IDF environment
2017-06-12 15:22:09 +08:00
2017-06-07 09:58:35 +08:00
IDF_PATH : "$CI_PROJECT_DIR"
2018-03-27 13:13:35 +08:00
BATCH_BUILD : "1"
V : "0"
2017-10-18 19:53:10 +08:00
APPLY_BOT_FILTER_SCRIPT : "$CI_PROJECT_DIR/tools/ci/apply_bot_filter.py"
CHECKOUT_REF_SCRIPT : "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
2018-08-03 16:28:33 +08:00
# Docker images
BOT_DOCKER_IMAGE_TAG : ":latest"
2018-06-08 19:41:18 +08:00
# When 'fetch' strategy is used, Gitlab removes untracked files before checking out
# new revision. However if the new revision doesn't include some of the submodules
# which were present in the old revision, such submodule directories would not be
# removed by the checkout. This extra step ensures that these stale submodules
# are removed.
.git_clean_stale_submodules : &git_clean_stale_submodules >
find . -name '.git' -not -path './.git' -printf '%P\n'
2018-07-30 21:40:10 +05:30
| sed 's|/.git||'
2018-06-08 19:41:18 +08:00
| xargs -I {} sh -c '
2018-07-30 21:40:10 +05:30
grep -q {} .gitmodules
|| (echo "Removing {}, has .git directory but not in .gitmodules file"
2018-06-08 19:41:18 +08:00
&& rm -rf {});'
2017-10-18 19:53:10 +08:00
# before each job, we need to check if this job is filtered by bot stage/job filter
.apply_bot_filter : &apply_bot_filter
python $APPLY_BOT_FILTER_SCRIPT || exit 0
2017-06-07 09:58:35 +08:00
2019-10-18 11:46:43 +02:00
.setup_tools_unless_target_test : &setup_tools_unless_target_test |
if [[ "$SETUP_TOOLS" == "1" || "$CI_JOB_STAGE" != "target_test" ]]; then
tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
fi
2016-09-01 15:13:15 +08:00
before_script :
2018-09-25 14:43:07 +02:00
- source tools/ci/setup_python.sh
2018-06-08 19:41:18 +08:00
- *git_clean_stale_submodules
2017-10-18 19:53:10 +08:00
# apply bot filter in before script
- *apply_bot_filter
2016-09-13 11:34:28 +10:00
# add gitlab ssh key
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
2016-09-13 21:24:57 +08:00
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
2016-09-13 11:34:28 +10:00
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
2019-10-18 11:46:43 +02:00
# Download and install tools, if needed
- *setup_tools_unless_target_test
2016-11-08 11:55:48 +08:00
2017-03-22 18:39:28 +08:00
# Set IS_PRIVATE or IS_PUBLIC depending on if our branch is public or not
#
# (the same regular expressions are used to set these are used in 'only:' sections below
2017-06-16 12:38:32 +08:00
- source tools/ci/configure_ci_environment.sh
2017-03-22 18:39:28 +08:00
2017-06-14 17:52:33 +10:00
# fetch the submodules (& if necessary re-fetch repo) from gitlab
- time ./tools/ci/get-full-sources.sh
2016-09-01 15:13:15 +08:00
2018-08-13 12:35:11 +10:00
# used for check scripts which we want to run unconditionally
.do_nothing_before_no_filter :
before_script : &do_nothing_before_no_filter
2018-09-25 14:43:07 +02:00
- source tools/ci/setup_python.sh
2018-08-13 12:35:11 +10:00
- *git_clean_stale_submodules
# used for everything else where we want to do no prep, except for bot filter
2017-06-26 18:42:28 +08:00
.do_nothing_before :
before_script : &do_nothing_before
2018-09-25 14:43:07 +02:00
- source tools/ci/setup_python.sh
2018-06-08 19:41:18 +08:00
- *git_clean_stale_submodules
2017-10-18 19:53:10 +08:00
# apply bot filter in before script
- *apply_bot_filter
2017-06-26 18:42:28 +08:00
- echo "Not setting up GitLab key, not fetching submodules"
- source tools/ci/configure_ci_environment.sh
.add_gitlab_key_before :
before_script : &add_gitlab_key_before
2018-09-25 14:43:07 +02:00
- source tools/ci/setup_python.sh
2018-06-08 19:41:18 +08:00
- *git_clean_stale_submodules
2017-10-18 19:53:10 +08:00
# apply bot filter in before script
- *apply_bot_filter
2017-06-26 18:42:28 +08:00
- echo "Not fetching submodules"
- source tools/ci/configure_ci_environment.sh
# add gitlab ssh key
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
2016-08-22 15:02:22 +08:00
build_template_app :
2016-08-22 18:19:08 +08:00
stage : build
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2016-09-09 10:49:03 +08:00
tags :
- build
2016-08-22 15:02:22 +08:00
variables :
2017-02-10 17:38:24 +11:00
BATCH_BUILD : "1"
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_REGULAR_TEST
2016-08-22 15:02:22 +08:00
script :
2018-11-14 14:13:28 +08:00
# Set the variable for 'esp-idf-template' testing
- ESP_IDF_TEMPLATE_GIT=${ESP_IDF_TEMPLATE_GIT:-"https://github.com/espressif/esp-idf-template.git"}
- git clone ${ESP_IDF_TEMPLATE_GIT}
2016-09-01 18:58:06 +10:00
# Try to use the same branch name for esp-idf-template that we're
# using on esp-idf. If it doesn't exist then just stick to the default
# branch
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT esp-idf-template esp-idf-template
- cd esp-idf-template
2018-11-14 14:13:28 +08:00
- make defconfig
2016-10-17 12:45:42 +08:00
# Test debug build (default)
- make all V=1
# Now test release build
- make clean
- sed -i.bak -e's/CONFIG_OPTIMIZATION_LEVEL_DEBUG\=y/CONFIG_OPTIMIZATION_LEVEL_RELEASE=y/' sdkconfig
2016-09-09 10:49:35 +10:00
- make all V=1
2016-11-21 23:05:23 +08:00
# Check if there are any stray printf/ets_printf references in WiFi libs
- cd ../components/esp32/lib
2018-04-03 15:37:28 +08:00
- test $(xtensa-esp32-elf-nm *.a | grep -w printf | wc -l) -eq 0
- test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
2016-08-22 18:19:08 +08:00
2016-09-09 10:49:03 +08:00
2017-04-26 18:09:14 +08:00
.build_template : &build_template
2016-09-09 10:49:03 +08:00
stage : build
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2016-09-09 10:49:03 +08:00
tags :
- build
variables :
2017-02-10 17:38:24 +11:00
BATCH_BUILD : "1"
2017-04-20 13:43:20 +10:00
V : "0"
2016-09-09 10:49:03 +08:00
2019-04-28 15:29:05 +08:00
build_ssc :
2016-09-09 10:49:03 +08:00
<< : *build_template
2019-04-28 15:29:05 +08:00
parallel : 3
2016-09-09 10:49:03 +08:00
artifacts :
paths :
2017-06-09 18:14:29 +08:00
- SSC/ssc_bin
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2017-12-01 12:00:40 +08:00
variables :
SSC_CONFIG_FOLDER : "$CI_PROJECT_DIR/SSC/configs/ESP32_IDF"
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_INTEGRATION_TEST
- $BOT_LABEL_REGULAR_TEST
2016-09-09 10:49:03 +08:00
script :
2017-05-05 20:20:31 +08:00
- git clone $SSC_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT SSC SSC
2016-09-09 10:49:03 +08:00
- cd SSC
2019-04-28 15:29:05 +08:00
- MAKEFLAGS= ./ci_build_ssc.sh
2018-11-21 10:21:20 +08:00
.build_esp_idf_unit_test_template : &build_esp_idf_unit_test_template
2016-11-01 19:30:42 +08:00
<< : *build_template
artifacts :
paths :
2017-09-13 01:40:54 +08:00
- tools/unit-test-app/output
2017-06-09 18:14:29 +08:00
- components/idf_test/unit_test/TestCaseAll.yml
2019-12-11 18:15:23 +11:00
expire_in : 4 days
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_UNIT_TEST
- $BOT_LABEL_REGULAR_TEST
2018-11-21 10:21:20 +08:00
build_esp_idf_tests_make :
<< : *build_esp_idf_unit_test_template
2016-11-01 19:30:42 +08:00
script :
2018-11-27 19:16:18 +08:00
- export EXTRA_CFLAGS=${PEDANTIC_CFLAGS}
2018-11-21 10:21:20 +08:00
- export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
2018-08-27 10:48:16 +08:00
- cd $CI_PROJECT_DIR/tools/unit-test-app
2018-11-21 10:21:20 +08:00
- MAKEFLAGS= make help # make sure kconfig tools are built in single process
- make ut-clean-all-configs
- make ut-build-all-configs
- python tools/UnitTestParser.py
2018-11-27 19:16:18 +08:00
# Check if the tests demand Make built binaries. If not, delete them
2018-11-21 10:21:20 +08:00
- if [ "$UNIT_TEST_BUILD_SYSTEM" == "make" ]; then exit 0; fi
- rm -rf builds output sdkconfig
2019-03-10 14:15:43 +08:00
- rm $CI_PROJECT_DIR/components/idf_test/unit_test/TestCaseAll.yml
2018-11-21 10:21:20 +08:00
build_esp_idf_tests_cmake :
<< : *build_esp_idf_unit_test_template
script :
- export PATH="$IDF_PATH/tools:$PATH"
2018-11-27 19:16:18 +08:00
- export EXTRA_CFLAGS=${PEDANTIC_CFLAGS}
2017-10-18 21:09:53 +08:00
- export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
2018-11-21 10:21:20 +08:00
- cd $CI_PROJECT_DIR/tools/unit-test-app
2018-08-27 10:48:16 +08:00
- idf.py ut-clean-all-configs
- idf.py ut-build-all-configs
- python tools/UnitTestParser.py
2018-11-27 19:16:18 +08:00
# Check if the tests demand CMake built binaries. If not, delete them
2018-08-27 10:48:16 +08:00
- if [ "$UNIT_TEST_BUILD_SYSTEM" == "cmake" ]; then exit 0; fi
- rm -rf builds output sdkconfig
2019-03-10 14:15:43 +08:00
- rm $CI_PROJECT_DIR/components/idf_test/unit_test/TestCaseAll.yml
2016-11-01 19:30:42 +08:00
2019-04-28 15:29:05 +08:00
build_examples_make :
2016-10-11 16:41:05 +11:00
<< : *build_template
2019-04-28 15:29:05 +08:00
parallel : 8
2018-10-31 18:33:51 +08:00
# This is a workaround for a rarely encountered issue with building examples in CI.
# Probably related to building of Kconfig in 'make clean' stage
2018-04-04 15:37:28 +08:00
retry : 1
2016-10-11 16:41:05 +11:00
artifacts :
2017-12-28 18:20:14 +08:00
when : always
2016-10-11 16:41:05 +11:00
paths :
2017-06-05 14:39:11 +08:00
- build_examples/*/*/*/build/*.bin
2018-12-07 15:15:34 +01:00
- build_examples/*/*/*/sdkconfig
2017-06-05 14:39:11 +08:00
- build_examples/*/*/*/build/*.elf
- build_examples/*/*/*/build/*.map
2017-10-10 10:55:25 +08:00
- build_examples/*/*/*/build/download.config
2017-06-05 14:39:11 +08:00
- build_examples/*/*/*/build/bootloader/*.bin
2017-12-28 18:20:14 +08:00
- $LOG_PATH
2019-12-11 18:15:23 +11:00
expire_in : 4 days
2017-06-06 18:26:31 +08:00
variables :
2018-09-13 14:32:41 +10:00
LOG_PATH : "$CI_PROJECT_DIR/log_examples_make"
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_EXAMPLE_TEST
- $BOT_LABEL_REGULAR_TEST
2019-04-28 15:29:05 +08:00
- $BOT_LABEL_WEEKEND_TEST
2016-10-11 16:41:05 +11:00
script :
# it's not possible to build 100% out-of-tree and have the "artifacts"
# mechanism work, but this is the next best thing
2017-09-01 13:42:39 +10:00
- rm -rf build_examples
2016-10-11 16:41:05 +11:00
- mkdir build_examples
- cd build_examples
2017-06-07 16:30:25 +08:00
# build some of examples
2017-12-28 18:20:14 +08:00
- mkdir -p ${LOG_PATH}
2019-04-28 15:29:05 +08:00
- ${IDF_PATH}/tools/ci/build_examples.sh
2017-06-07 16:30:25 +08:00
2018-09-13 14:32:41 +10:00
# same as above, but for CMake
2019-04-28 15:29:05 +08:00
build_examples_cmake :
2018-09-13 14:32:41 +10:00
<< : *build_template
2019-04-28 15:29:05 +08:00
parallel : 5
2018-09-13 14:32:41 +10:00
artifacts :
when : always
paths :
- build_examples_cmake/*/*/*/build/*.bin
2018-12-07 15:15:34 +01:00
- build_examples_cmake/*/*/*/sdkconfig
2018-09-13 14:32:41 +10:00
- build_examples_cmake/*/*/*/build/*.elf
- build_examples_cmake/*/*/*/build/*.map
2019-02-12 09:55:08 +08:00
- build_examples_cmake/*/*/*/build/flasher_args.json
2018-09-13 14:32:41 +10:00
- build_examples_cmake/*/*/*/build/bootloader/*.bin
- $LOG_PATH
2019-12-11 18:15:23 +11:00
expire_in : 4 days
2018-09-13 14:32:41 +10:00
variables :
LOG_PATH : "$CI_PROJECT_DIR/log_examples_cmake"
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_EXAMPLE_TEST
- $BOT_LABEL_REGULAR_TEST
2019-04-28 15:29:05 +08:00
- $BOT_LABEL_WEEKEND_TEST
2018-09-13 14:32:41 +10:00
script :
# it's not possible to build 100% out-of-tree and have the "artifacts"
# mechanism work, but this is the next best thing
- rm -rf build_examples_cmake
- mkdir build_examples_cmake
- cd build_examples_cmake
# build some of examples
- mkdir -p ${LOG_PATH}
2019-04-28 15:29:05 +08:00
- ${IDF_PATH}/tools/ci/build_examples_cmake.sh
2017-11-22 22:40:49 +08:00
2016-11-01 20:08:29 +08:00
build_docs :
stage : build
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2016-11-01 20:08:29 +08:00
tags :
- build_docs
2017-06-09 18:14:29 +08:00
artifacts :
2017-09-06 21:16:34 +02:00
when : always
2017-06-09 18:14:29 +08:00
paths :
2018-02-03 22:12:13 +01:00
# English version of documentation
- docs/en/doxygen-warning-log.txt
- docs/en/sphinx-warning-log.txt
- docs/en/sphinx-warning-log-sanitized.txt
- docs/en/_build/html
2018-06-28 17:45:41 +02:00
- docs/sphinx-err-*
2018-02-03 22:12:13 +01:00
# Chinese version of documentation
- docs/zh_CN/doxygen-warning-log.txt
- docs/zh_CN/sphinx-warning-log.txt
- docs/zh_CN/sphinx-warning-log-sanitized.txt
- docs/zh_CN/_build/html
2019-12-11 18:15:23 +11:00
expire_in : 4 days
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_BUILD_DOCS
- $BOT_LABEL_REGULAR_TEST
2016-11-01 20:08:29 +08:00
script :
2018-03-16 07:54:58 +01:00
- cd docs
- ./check_lang_folder_sync.sh
- cd en
2017-01-19 16:16:06 +08:00
- make gh-linkcheck
2018-11-01 12:56:07 +08:00
- make html
2018-02-03 22:12:13 +01:00
- ../check_doc_warnings.sh
- cd ../zh_CN
- make gh-linkcheck
- make html
- ../check_doc_warnings.sh
2016-11-01 20:08:29 +08:00
2018-11-27 16:31:37 +08:00
.check_job_template : &check_job_template
stage : check
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
tags :
- host_test
dependencies : [ ]
before_script : *do_nothing_before_no_filter
2018-03-20 12:27:00 +11:00
verify_cmake_style :
2018-11-27 16:31:37 +08:00
<< : *check_job_template
2018-03-20 12:27:00 +11:00
stage : build
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD
- $BOT_LABEL_REGULAR_TEST
2018-03-20 12:27:00 +11:00
script :
tools/cmake/run_cmake_lint.sh
2019-10-18 11:46:43 +02:00
build_docker :
stage : build
image : espressif/docker-builder:1
tags :
- build_docker_amd64_brno
only :
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
- schedules
variables :
DOCKER_TMP_IMAGE_NAME : "idf_tmp_image"
before_script : [ ]
script :
2020-09-11 16:14:15 +02:00
- export LOCAL_CI_REPOSITORY_URL=$CI_REPOSITORY_URL
- if [ -n "$LOCAL_GITLAB_HTTPS_HOST" ]; then export LOCAL_CI_REPOSITORY_URL="https://gitlab-ci-token:${CI_JOB_TOKEN}@${LOCAL_GITLAB_HTTPS_HOST}/${CI_PROJECT_PATH}"; fi
- echo "Using repository at $LOCAL_CI_REPOSITORY_URL"
- export DOCKER_BUILD_ARGS="--build-arg IDF_CLONE_URL=${LOCAL_CI_REPOSITORY_URL} --build-arg IDF_CLONE_BRANCH_OR_TAG=${CI_COMMIT_REF_NAME} --build-arg IDF_CHECKOUT_REF=${CI_COMMIT_TAG:-$CI_COMMIT_SHA}"
2019-10-18 11:46:43 +02:00
# Build
- docker build --tag ${DOCKER_TMP_IMAGE_NAME} ${DOCKER_BUILD_ARGS} tools/docker/
# We can't mount $PWD/examples/get-started/blink into the container, see https://gitlab.com/gitlab-org/gitlab-ce/issues/41227.
# The workaround mentioned there works, but leaves around directories which need to be cleaned up manually.
# Therefore, build a copy of the example located inside the container.
- docker run --rm --workdir /opt/esp/idf/examples/get-started/blink ${DOCKER_TMP_IMAGE_NAME} idf.py build
2018-06-25 10:33:59 +08:00
.host_test_template : &host_test_template
stage : host_test
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2016-09-09 10:49:03 +08:00
tags :
2018-06-06 17:18:52 +10:00
- host_test
2017-06-09 19:05:17 +08:00
dependencies : [ ]
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_HOST_TEST
- $BOT_LABEL_REGULAR_TEST
2018-07-30 21:40:10 +05:30
2018-06-25 10:33:59 +08:00
test_nvs_on_host :
<< : *host_test_template
2016-08-23 12:54:09 +08:00
script :
2016-11-17 16:36:10 +08:00
- cd components/nvs_flash/test_nvs_host
2016-08-23 12:54:09 +08:00
- make test
2018-04-16 11:50:12 +08:00
test_nvs_coverage :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2018-04-16 11:50:12 +08:00
artifacts :
paths :
- components/nvs_flash/test_nvs_host/coverage_report
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2018-04-16 11:50:12 +08:00
only :
2018-09-29 14:51:43 +08:00
refs :
- triggers
variables :
- $BOT_LABEL_NVS_COVERAGE
2018-04-16 11:50:12 +08:00
script :
- cd components/nvs_flash/test_nvs_host
- make coverage_report
2017-05-12 12:30:27 +10:00
test_partition_table_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2017-05-12 12:30:27 +10:00
tags :
- build
script :
- cd components/partition_table/test_gen_esp32part_host
2018-09-17 14:27:36 +02:00
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./gen_esp32part_tests.py
2017-05-12 12:30:27 +10:00
2017-04-10 21:41:19 +08:00
test_wl_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2017-04-10 21:41:19 +08:00
artifacts :
paths :
- components/wear_levelling/test_wl_host/coverage_report.zip
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2017-04-10 21:41:19 +08:00
script :
- cd components/wear_levelling/test_wl_host
- make test
2018-05-22 18:26:19 +08:00
test_fatfs_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2018-05-22 18:26:19 +08:00
script :
- cd components/fatfs/test_fatfs_host/
- make test
2018-04-18 10:57:45 +08:00
test_ldgen_on_host :
<< : *host_test_template
script :
- cd tools/ldgen/test
- ./test_fragments.py
- ./test_generation.py
2018-07-27 09:26:51 +02:00
.host_fuzzer_test_template : &host_fuzzer_test_template
2018-06-11 08:32:40 +02:00
stage : host_test
2018-08-13 01:33:18 +03:00
image : $CI_DOCKER_REGISTRY/afl-fuzzer-test
2017-05-03 18:03:28 +10:00
tags :
2018-06-06 17:18:52 +10:00
- host_test
2018-06-11 08:32:40 +02:00
dependencies : [ ]
artifacts :
when : always
paths :
2018-07-27 09:26:51 +02:00
- ${FUZZER_TEST_DIR}/out/crashes
- ${FUZZER_TEST_DIR}/fuzz_output.log
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2018-06-11 08:32:40 +02:00
only :
2018-09-29 14:51:43 +08:00
refs :
# can only be triggered
- triggers
variables :
- $BOT_LABEL_FUZZER_TEST
2018-06-11 08:32:40 +02:00
script :
- export AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 && export AFL_SKIP_CPUFREQ=1
2018-07-27 09:26:51 +02:00
- cd ${FUZZER_TEST_DIR}
2018-06-11 08:32:40 +02:00
# run AFL fuzzer for one hour
2018-07-27 09:26:51 +02:00
- ( ( make ${FUZZER_PARAMS} fuzz | tee fuzz_output.log | grep -v '\(Fuzzing test case\|Entering queue cycle\)' ) || pkill sleep ) &
2018-06-11 08:32:40 +02:00
- ( sleep 3600 || mkdir -p out/crashes/env_failed ) && pkill afl-fuz
# check no crashes found
2018-07-27 09:26:51 +02:00
- test -z "$(ls out/crashes/)" || exit 1
test_mdns_fuzzer_on_host :
<< : *host_fuzzer_test_template
variables :
2018-08-27 21:41:52 +08:00
BOT_NEEDS_TRIGGER_BY_NAME : 1
2018-07-27 09:26:51 +02:00
FUZZER_TEST_DIR : components/mdns/test_afl_fuzz_host
test_lwip_dns_fuzzer_on_host :
<< : *host_fuzzer_test_template
variables :
2018-08-27 21:41:52 +08:00
BOT_NEEDS_TRIGGER_BY_NAME : 1
2018-07-27 09:26:51 +02:00
FUZZER_TEST_DIR : components/lwip/test_afl_host
FUZZER_PARAMS : MODE=dns
test_lwip_dhcp_fuzzer_on_host :
<< : *host_fuzzer_test_template
variables :
2018-08-27 21:41:52 +08:00
BOT_NEEDS_TRIGGER_BY_NAME : 1
2018-07-27 09:26:51 +02:00
FUZZER_TEST_DIR : components/lwip/test_afl_host
FUZZER_PARAMS : MODE=dhcp_client
test_lwip_dhcps_fuzzer_on_host :
<< : *host_fuzzer_test_template
variables :
2018-08-27 21:41:52 +08:00
BOT_NEEDS_TRIGGER_BY_NAME : 1
2018-07-27 09:26:51 +02:00
FUZZER_TEST_DIR : components/lwip/test_afl_host
FUZZER_PARAMS : MODE=dhcp_server
2018-06-11 08:32:40 +02:00
2018-05-22 18:26:19 +08:00
test_spiffs_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2018-05-22 18:26:19 +08:00
script :
- cd components/spiffs/test_spiffs_host/
- make test
2017-05-03 18:03:28 +10:00
test_multi_heap_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2017-05-03 18:03:28 +10:00
script :
- cd components/heap/test_multi_heap_host
2018-04-03 12:04:12 +10:00
- ./test_all_configs.sh
2017-05-03 18:03:28 +10:00
2018-05-16 14:54:22 +08:00
test_confserver :
2018-08-16 15:01:43 +10:00
<< : *host_test_template
2018-05-16 14:54:22 +08:00
script :
- cd tools/kconfig_new/test
2018-09-18 14:43:23 +02:00
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_confserver.py
2018-05-16 14:54:22 +08:00
2016-08-24 12:16:26 +08:00
test_build_system :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2016-08-24 12:16:26 +08:00
script :
2017-09-04 11:15:04 +10:00
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
- rm -rf test_build_system
- mkdir test_build_system
- cd test_build_system
- ${IDF_PATH}/tools/ci/test_build_system.sh
2016-08-24 12:16:26 +08:00
2018-04-18 09:30:27 +10:00
test_build_system_cmake :
2018-08-16 15:01:43 +10:00
<< : *host_test_template
2018-04-18 09:30:27 +10:00
script :
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
- rm -rf test_build_system
- mkdir test_build_system
- cd test_build_system
- ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
2018-06-14 11:56:20 +02:00
test_idf_monitor :
<< : *host_test_template
2016-09-30 13:58:02 +08:00
artifacts :
2019-01-25 15:02:43 +01:00
# save artifacts always in order to access results which were retried without consequent failure
when : always
2016-09-30 13:58:02 +08:00
paths :
2018-06-14 11:56:20 +02:00
- tools/test_idf_monitor/outputs/*
expire_in : 1 week
2016-09-30 13:58:02 +08:00
script :
2018-06-14 11:56:20 +02:00
- cd ${IDF_PATH}/tools/test_idf_monitor
2018-11-06 11:36:46 +01:00
- ./run_test_idf_monitor.py
2016-09-09 10:49:03 +08:00
2018-07-23 11:46:59 +02:00
test_idf_size :
<< : *host_test_template
artifacts :
when : on_failure
paths :
- tools/test_idf_size/output
- tools/test_idf_size/.coverage
expire_in : 1 week
script :
- cd ${IDF_PATH}/tools/test_idf_size
2018-08-27 13:47:53 +02:00
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test.sh
2018-07-23 11:46:59 +02:00
2018-02-01 13:14:47 +01:00
test_esp_err_to_name_on_host :
2018-06-25 10:33:59 +08:00
<< : *host_test_template
2018-08-02 11:01:04 +02:00
artifacts :
when : on_failure
paths :
- components/esp32/esp_err_to_name.c
expire_in : 1 week
2018-02-01 13:14:47 +01:00
script :
2018-08-27 13:47:53 +02:00
- cd ${IDF_PATH}/tools/
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 2.7.15 ./gen_esp_err_to_name.py
2018-12-05 21:00:36 +08:00
- git diff --exit-code -- ../components/esp32/esp_err_to_name.c || { echo 'Differences found. Please run gen_esp_err_to_name.py and commit the changes.'; exit 1; }
2018-08-27 13:47:53 +02:00
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.4.8 ./gen_esp_err_to_name.py
2018-12-05 21:00:36 +08:00
- git diff --exit-code -- ../components/esp32/esp_err_to_name.c || { echo 'Differences found between running under Python 2 and 3.'; exit 1; }
2018-02-01 13:14:47 +01:00
2018-12-07 19:28:57 +08:00
test_esp_efuse_table_on_host :
<< : *host_test_template
artifacts :
when : on_failure
paths :
- components/efuse/esp32/esp_efuse_table.c
expire_in : 1 week
script :
- cd ${IDF_PATH}/components/efuse/
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 2.7.15 ./efuse_table_gen.py ${IDF_PATH}/components/efuse/esp32/esp_efuse_table.csv
- git diff --exit-code -- esp32/esp_efuse_table.c || { echo 'Differences found. Please run make efuse_common_table or idf.py efuse_common_table and commit the changes.'; exit 1; }
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.4.8 ./efuse_table_gen.py ${IDF_PATH}/components/efuse/esp32/esp_efuse_table.csv
2019-08-27 11:58:45 +02:00
- git diff --exit-code -- esp32/esp_efuse_table.c || { echo 'Differences found between running under Python 2 and 3.'; exit 1; }
2018-12-07 19:28:57 +08:00
- cd ${IDF_PATH}/components/efuse/test_efuse_host
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./efuse_tests.py
2018-09-03 13:48:32 +02:00
test_espcoredump :
<< : *host_test_template
artifacts :
when : always
paths :
- components/espcoredump/test/.coverage
- components/espcoredump/test/output
expire_in : 1 week
script :
- cd components/espcoredump/test/
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_espcoredump.sh
2018-07-27 12:01:58 +10:00
push_to_github :
2016-09-26 14:32:58 +08:00
stage : deploy
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2017-04-26 18:09:14 +08:00
tags :
- deploy
2016-09-26 14:32:58 +08:00
only :
2020-05-22 15:04:39 +10:00
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
variables :
- $BOT_TRIGGER_WITH_LABEL == null
2016-09-26 14:32:58 +08:00
when : on_success
2017-06-09 19:05:17 +08:00
dependencies : [ ]
2017-06-26 18:42:28 +08:00
before_script : *do_nothing_before
2016-09-26 14:32:58 +08:00
script :
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo -n $GH_PUSH_KEY > ~/.ssh/id_rsa_base64
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
2017-07-04 11:52:57 +08:00
- git remote remove github &>/dev/null || true
2016-09-26 14:32:58 +08:00
- git remote add github git@github.com:espressif/esp-idf.git
2018-08-16 11:04:28 +10:00
- tools/ci/push_to_github.sh
2016-09-26 14:32:58 +08:00
2016-11-01 20:58:47 +08:00
deploy_docs :
2018-09-29 14:51:43 +08:00
stage : deploy
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2017-04-26 18:09:14 +08:00
tags :
- deploy
2020-01-10 17:36:52 +07:00
- shiny
2016-11-01 20:58:47 +08:00
only :
2018-09-29 14:51:43 +08:00
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
- triggers
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD_DOCS
2017-06-09 19:05:17 +08:00
dependencies :
- build_docs
2017-06-26 18:42:28 +08:00
before_script : *do_nothing_before
2016-11-01 20:58:47 +08:00
script :
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo -n $DOCS_DEPLOY_KEY > ~/.ssh/id_rsa_base64
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~/.ssh/config
- export GIT_VER=$(git describe --always)
2018-02-09 17:17:06 +08:00
- cd docs/en/_build/
- mv html $GIT_VER
- tar czvf $GIT_VER.tar.gz $GIT_VER
- scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/en
- ssh $DOCS_SERVER -x "cd $DOCS_PATH/en && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
- cd ../../zh_CN/_build/
2016-11-01 20:58:47 +08:00
- mv html $GIT_VER
- tar czvf $GIT_VER.tar.gz $GIT_VER
2018-02-09 17:17:06 +08:00
- scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/zh_CN
- ssh $DOCS_SERVER -x "cd $DOCS_PATH/zh_CN && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
2018-02-12 14:30:02 +08:00
# add link to preview doc
- echo "[document preview][en] $CI_DOCKER_REGISTRY/docs/esp-idf/en/${GIT_VER}/index.html"
- echo "[document preview][zh_CN] $CI_DOCKER_REGISTRY/docs/esp-idf/zh_CN/${GIT_VER}/index.html"
2016-11-01 20:58:47 +08:00
2017-01-19 16:16:06 +08:00
check_doc_links :
2018-06-25 10:33:59 +08:00
stage : host_test
2017-11-23 10:13:14 +08:00
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
2017-01-19 16:16:06 +08:00
tags :
- check_doc_links
only :
2018-09-29 14:51:43 +08:00
refs :
# can only be triggered
- triggers
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_BUILD_DOCS
2017-06-09 18:14:29 +08:00
artifacts :
paths :
- docs/_build/linkcheck
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2017-01-19 16:16:06 +08:00
script :
# must be triggered with CHECK_LINKS=Yes, otherwise exit without test
2017-03-04 18:17:59 +08:00
- test "$CHECK_LINKS" = "Yes" || exit 0
2017-01-19 16:16:06 +08:00
# can only run on master branch (otherwise the commit is not on Github yet)
2017-05-31 17:20:29 +08:00
- test "${CI_COMMIT_REF_NAME}" = "master" || exit 0
2017-01-19 16:16:06 +08:00
- cd docs
- make linkcheck
2018-09-20 16:11:54 +08:00
check_line_endings :
<< : *check_job_template
2018-03-23 17:05:16 +11:00
script :
- tools/ci/check-line-endings.sh ${IDF_PATH}
2017-03-31 18:52:59 +08:00
check_commit_msg :
2018-09-20 16:11:54 +08:00
<< : *check_job_template
2017-03-31 18:52:59 +08:00
script :
2017-06-16 12:36:34 +08:00
- git status
- git log -n10 --oneline
2017-03-31 18:52:59 +08:00
# commit start with "WIP: " need to be squashed before merge
2017-06-16 12:36:34 +08:00
- 'git log --pretty=%s master.. -- | grep "^WIP: " && exit 1 || exit 0'
2016-11-01 20:58:47 +08:00
2018-05-29 02:01:43 +08:00
check_permissions :
2018-09-20 16:11:54 +08:00
<< : *check_job_template
2018-05-29 02:01:43 +08:00
script :
- tools/ci/check-executable.sh
2019-03-22 12:40:12 +08:00
check_version :
<< : *check_job_template
# Don't run this for feature/bugfix branches, so that it is possible to modify
# esp_idf_version.h in a branch before tagging the next version.
only :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
script :
- export IDF_PATH=$PWD
- tools/ci/check_idf_version.sh
2018-08-28 11:10:48 +08:00
check_examples_cmake_make :
2018-09-20 16:11:54 +08:00
<< : *check_job_template
2018-08-28 11:10:48 +08:00
except :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
before_script : *do_nothing_before
script :
- tools/ci/check_examples_cmake_make.sh
2018-11-20 08:45:22 +01:00
check_python_style :
<< : *check_job_template
artifacts :
when : on_failure
paths :
- flake8_output.txt
expire_in : 1 week
before_script : *do_nothing_before
script :
# run it only under Python 3 (it is very slow under Python 2)
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.4.8 python -m flake8 --config=$IDF_PATH/.flake8 --output-file=flake8_output.txt --tee --benchmark $IDF_PATH
2018-12-06 15:08:18 +01:00
check_kconfigs :
<< : *check_job_template
before_script : *do_nothing_before
artifacts :
when : on_failure
paths :
- components/*/Kconfig*.new
- examples/*/*/*/Kconfig*.new
- examples/*/*/*/*/Kconfig*.new
- tools/*/Kconfig*.new
- tools/*/*/Kconfig*.new
- tools/*/*/*/Kconfig*.new
expire_in : 1 week
script :
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ${IDF_PATH}/tools/test_check_kconfigs.py
- ${IDF_PATH}/tools/check_kconfigs.py
2018-08-27 10:48:16 +08:00
check_ut_cmake_make :
stage : check
image : $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
tags :
- build
except :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
dependencies : [ ]
before_script : *do_nothing_before
script :
- tools/ci/check_ut_cmake_make.sh
2017-06-08 11:55:27 +08:00
check_submodule_sync :
2018-09-20 16:11:54 +08:00
<< : *check_job_template
2019-02-25 10:41:39 +11:00
tags :
- github_sync
2017-06-19 09:59:18 +08:00
variables :
GIT_STRATEGY : clone
2019-02-21 10:48:55 +11:00
retry : 2
2017-06-08 11:55:27 +08:00
script :
# check if all submodules are correctly synced to public repostory
- git submodule update --init --recursive
2018-09-20 16:11:54 +08:00
check_artifacts_expire_time :
<< : *check_job_template
script :
# check if we have set expire time for all artifacts
- python tools/ci/check_artifacts_expire_time.py
2018-09-29 14:51:43 +08:00
check_pipeline_triggered_by_label :
<< : *check_job_template
stage : post_check
only :
variables :
- $BOT_TRIGGER_WITH_LABEL
script :
# If the pipeline is triggered with label, the pipeline will only succeeded if "regular_test" label is added.
# We want to make sure some jobs are always executed to detect regression.
- test "$BOT_LABEL_REGULAR_TEST" = "true" || exit -1
2017-05-05 20:20:31 +08:00
assign_test :
2018-01-08 20:33:09 +08:00
tags :
- assign_test
2018-08-03 16:28:33 +08:00
image : $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
2017-05-05 20:20:31 +08:00
stage : assign_test
2017-10-10 10:55:25 +08:00
# gitlab ci do not support match job with RegEx or wildcard now in dependencies.
# we have a lot build example jobs. now we don't use dependencies, just download all artificats of build stage.
2018-01-08 20:33:09 +08:00
dependencies :
2019-04-28 15:29:05 +08:00
- build_ssc
2018-11-21 10:21:20 +08:00
- build_esp_idf_tests_make
- build_esp_idf_tests_cmake
2017-09-13 20:39:43 +08:00
variables :
2017-10-10 10:55:25 +08:00
TEST_FW_PATH : "$CI_PROJECT_DIR/tools/tiny-test-fw"
EXAMPLE_CONFIG_OUTPUT_PATH : "$CI_PROJECT_DIR/examples/test_configs"
2017-05-05 20:20:31 +08:00
artifacts :
paths :
- components/idf_test/*/CIConfigs
- components/idf_test/*/TC.sqlite
2017-10-10 10:55:25 +08:00
- $EXAMPLE_CONFIG_OUTPUT_PATH
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2018-09-29 14:51:43 +08:00
only :
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_UNIT_TEST
- $BOT_LABEL_INTEGRATION_TEST
- $BOT_LABEL_EXAMPLE_TEST
2017-05-05 20:20:31 +08:00
script :
2017-10-10 10:55:25 +08:00
# assign example tests
- python $TEST_FW_PATH/CIAssignExampleTest.py $IDF_PATH/examples $IDF_PATH/.gitlab-ci.yml $EXAMPLE_CONFIG_OUTPUT_PATH
2018-01-31 18:59:10 +08:00
# assign unit test cases
- python $TEST_FW_PATH/CIAssignUnitTest.py $IDF_PATH/components/idf_test/unit_test/TestCaseAll.yml $IDF_PATH/.gitlab-ci.yml $IDF_PATH/components/idf_test/unit_test/CIConfigs
2017-05-05 20:20:31 +08:00
# clone test script to assign tests
- git clone $TEST_SCRIPT_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
2017-05-05 20:20:31 +08:00
- cd auto_test_script
# assgin integration test cases
2017-12-01 12:00:40 +08:00
- python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin
2017-05-05 20:20:31 +08:00
2019-04-28 15:29:05 +08:00
.define_config_file_name : &define_config_file_name |
JOB_NAME_PREFIX=$(echo ${CI_JOB_NAME} | awk '{print $1}')
JOG_FULL_NAME="${JOB_NAME_PREFIX}_${CI_NODE_INDEX}"
CONFIG_FILE="${CONFIG_FILE_PATH}/${JOG_FULL_NAME}.yml"
2017-10-10 10:55:25 +08:00
.example_test_template : &example_test_template
2018-11-26 16:40:32 +08:00
stage : target_test
2017-10-10 10:55:25 +08:00
when : on_success
only :
2018-09-29 14:51:43 +08:00
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
- triggers
- schedules
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_EXAMPLE_TEST
2018-06-24 14:11:57 +08:00
dependencies :
- assign_test
2019-04-28 15:29:05 +08:00
- build_examples_make
- build_examples_cmake
2017-10-10 10:55:25 +08:00
artifacts :
when : always
paths :
- $LOG_PATH
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2018-11-13 21:26:58 +08:00
reports :
junit : $LOG_PATH/*/XUNIT_RESULT.xml
2017-10-10 10:55:25 +08:00
variables :
TEST_FW_PATH : "$CI_PROJECT_DIR/tools/tiny-test-fw"
TEST_CASE_PATH : "$CI_PROJECT_DIR/examples"
2019-04-28 15:29:05 +08:00
CONFIG_FILE_PATH : "${CI_PROJECT_DIR}/examples/test_configs"
2017-10-10 10:55:25 +08:00
LOG_PATH : "$CI_PROJECT_DIR/TEST_LOGS"
2018-01-08 20:33:09 +08:00
ENV_FILE : "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
2017-10-10 10:55:25 +08:00
script :
2019-04-28 15:29:05 +08:00
- *define_config_file_name
2017-10-10 10:55:25 +08:00
# first test if config file exists, if not exist, exit 0
- test -e $CONFIG_FILE || exit 0
2018-01-08 20:33:09 +08:00
# clone test env configs
- git clone $TEST_ENV_CONFIG_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
2017-10-10 10:55:25 +08:00
- cd $TEST_FW_PATH
# run test
2018-01-08 20:33:09 +08:00
- python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE
2017-10-10 10:55:25 +08:00
2018-01-31 18:59:10 +08:00
.unit_test_template : &unit_test_template
<< : *example_test_template
2018-11-26 16:40:32 +08:00
stage : target_test
2018-01-31 18:59:10 +08:00
dependencies :
- assign_test
2018-11-21 10:21:20 +08:00
- build_esp_idf_tests_make
- build_esp_idf_tests_cmake
2018-09-29 14:51:43 +08:00
only :
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
- triggers
- schedules
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_UNIT_TEST
2018-01-31 18:59:10 +08:00
variables :
TEST_FW_PATH : "$CI_PROJECT_DIR/tools/tiny-test-fw"
TEST_CASE_PATH : "$CI_PROJECT_DIR/tools/unit-test-app"
2019-04-28 15:29:05 +08:00
CONFIG_FILE_PATH : "${CI_PROJECT_DIR}/components/idf_test/unit_test/CIConfigs"
2018-01-31 18:59:10 +08:00
LOG_PATH : "$CI_PROJECT_DIR/TEST_LOGS"
2018-01-08 20:33:09 +08:00
ENV_FILE : "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
2018-01-31 18:59:10 +08:00
2016-09-09 10:49:03 +08:00
.test_template : &test_template
2018-11-26 16:40:32 +08:00
stage : target_test
2016-09-09 10:49:03 +08:00
when : on_success
only :
2018-09-29 14:51:43 +08:00
refs :
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
- triggers
- schedules
variables :
- $BOT_TRIGGER_WITH_LABEL == null
- $BOT_LABEL_INTEGRATION_TEST
2017-05-05 20:20:31 +08:00
dependencies :
- assign_test
2019-04-28 15:29:05 +08:00
- build_ssc
2017-06-09 18:14:29 +08:00
artifacts :
when : always
paths :
- $LOG_PATH
2018-09-20 16:11:54 +08:00
expire_in : 1 week
2016-09-09 10:49:03 +08:00
variables :
2017-05-05 20:20:31 +08:00
LOCAL_ENV_CONFIG_PATH : "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
2017-05-31 17:20:29 +08:00
LOG_PATH : "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
2016-11-01 19:30:42 +08:00
TEST_CASE_FILE_PATH : "$CI_PROJECT_DIR/components/idf_test/integration_test"
2017-05-05 20:20:31 +08:00
MODULE_UPDATE_FILE : "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
2019-04-28 15:29:05 +08:00
CONFIG_FILE_PATH : "${CI_PROJECT_DIR}/components/idf_test/integration_test/CIConfigs"
2017-06-26 18:42:28 +08:00
before_script : *add_gitlab_key_before
2017-06-14 17:52:33 +10:00
script :
2019-04-28 15:29:05 +08:00
- *define_config_file_name
2017-06-14 17:52:33 +10:00
# first test if config file exists, if not exist, exit 0
- test -e $CONFIG_FILE || exit 0
2017-02-02 21:59:00 +08:00
# clone local test env configs
2017-05-05 20:20:31 +08:00
- git clone $TEST_ENV_CONFIG_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
2016-09-29 13:38:29 +08:00
# clone test bench
2017-05-05 20:20:31 +08:00
- git clone $TEST_SCRIPT_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
2016-09-27 16:22:18 +08:00
- cd auto_test_script
2016-09-29 13:38:29 +08:00
# run test
2019-04-28 15:29:05 +08:00
- python CIRunner.py -l "$LOG_PATH/$JOG_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH
2016-09-26 14:32:58 +08:00
2017-06-02 15:03:56 +08:00
nvs_compatible_test :
<< : *test_template
artifacts :
when : always
paths :
- $LOG_PATH
2017-06-09 18:14:29 +08:00
- nvs_wifi.bin
2018-06-24 14:11:57 +08:00
expire_in : 1 mos
2017-06-02 15:03:56 +08:00
tags :
- ESP32_IDF
- NVS_Compatible
script :
2019-04-28 15:29:05 +08:00
- *define_config_file_name
# first test if config file exists, if not exist, exit 0
- test -e $CONFIG_FILE || exit 0
2017-06-02 15:03:56 +08:00
# clone local test env configs
- git clone $TEST_ENV_CONFIG_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs
2017-06-02 15:03:56 +08:00
# clone test bench
- git clone $TEST_SCRIPT_REPOSITORY
2019-11-19 12:06:27 +08:00
- python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script
2017-06-02 15:03:56 +08:00
- cd auto_test_script
# prepare nvs bins
- ./Tools/prepare_nvs_bin.sh
# run test
2019-04-28 15:29:05 +08:00
- python CIRunner.py -l "$LOG_PATH/$JOG_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH
2017-10-10 10:55:25 +08:00
2019-04-28 15:29:05 +08:00
example_test_001 :
2018-10-26 13:14:19 +08:00
<< : *example_test_template
2020-02-13 13:43:58 +05:30
parallel : 3
2018-10-26 13:14:19 +08:00
tags :
- ESP32
- Example_WIFI
2019-04-28 15:29:05 +08:00
example_test_002 :
2018-01-08 20:33:09 +08:00
<< : *example_test_template
2018-08-03 16:28:33 +08:00
image : $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
2018-01-08 20:33:09 +08:00
tags :
- ESP32
2018-10-24 13:34:05 +08:00
- Example_ShieldBox_Basic
2018-01-08 20:33:09 +08:00
2019-04-28 15:29:05 +08:00
.example_test_003 :
2018-05-29 16:33:24 +08:00
<< : *example_test_template
tags :
- ESP32
- Example_SDIO
2019-10-25 14:10:06 +08:00
example_test_004A :
2017-12-18 20:32:29 +08:00
<< : *example_test_template
tags :
- ESP32
2019-10-25 14:10:06 +08:00
- Example_CAN1
example_test_004B :
<< : *example_test_template
tags :
- ESP32
- Example_CAN2
2017-12-18 20:32:29 +08:00
2019-04-28 15:29:05 +08:00
example_test_005 :
2018-07-30 21:40:10 +05:30
<< : *example_test_template
tags :
- ESP32
- Example_WIFI_BT
2019-04-28 15:29:05 +08:00
example_test_006 :
2018-10-24 13:34:05 +08:00
<< : *example_test_template
image : $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
only :
variables :
- $BOT_LABEL_IPERF_STRESS_TEST
tags :
- ESP32
- Example_ShieldBox
2019-04-28 15:29:05 +08:00
example_test_007 :
2018-10-18 11:25:22 +08:00
<< : *example_test_template
tags :
- ESP32
- Example_I2C_CCS811_SENSOR
2019-04-28 15:29:05 +08:00
UT_001 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 50
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
- UT_T1_1
2019-04-28 15:29:05 +08:00
# Max. allowed value of 'parallel' is 50.
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_002 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 16
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
- UT_T1_1
2019-04-28 15:29:05 +08:00
- psram
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_003 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 3
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_SDMODE
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_004 :
2017-11-23 16:51:28 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 3
2017-11-23 16:51:28 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_SPIMODE
2017-11-23 16:51:28 +08:00
2019-04-28 15:29:05 +08:00
UT_005 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_SDMODE
- psram
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_006 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_SPIMODE
- psram
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_007 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_GPIO
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_008 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_GPIO
- psram
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_009 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_PCNT
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_010 :
2017-09-13 20:39:43 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_PCNT
- psram
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
UT_011 :
2018-06-04 12:39:18 +05:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-06-04 12:39:18 +05:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_LEDC
2018-08-26 12:15:51 +08:00
2019-04-28 15:29:05 +08:00
UT_012 :
2018-06-04 12:39:18 +05:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_LEDC
- psram
2018-06-04 12:39:18 +05:00
2019-04-28 15:29:05 +08:00
UT_013 :
2018-06-04 12:39:18 +05:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-06-04 12:39:18 +05:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_RS485
2018-06-04 12:39:18 +05:00
2019-04-28 15:29:05 +08:00
UT_014 :
2018-04-28 18:56:25 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_RS485
- psram
2018-04-28 18:56:25 +08:00
2019-04-28 15:29:05 +08:00
UT_015 :
2018-04-28 18:56:25 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-04-28 18:56:25 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_RMT
2018-04-28 18:56:25 +08:00
2019-04-28 15:29:05 +08:00
UT_016 :
2017-12-17 10:24:49 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_RMT
- psram
2017-12-17 10:24:49 +08:00
2019-04-28 15:29:05 +08:00
UT_017 :
2018-06-08 17:39:00 +05:30
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 3
2018-06-08 17:39:00 +05:30
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- EMMC
2018-08-26 12:15:51 +08:00
2019-04-28 15:29:05 +08:00
UT_018 :
2018-06-26 11:13:04 +02:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 5
2018-06-26 11:13:04 +02:00
tags :
- ESP32_IDF
- UT_T1_1
2019-04-28 15:29:05 +08:00
- 8Mpsram
2018-06-26 11:13:04 +02:00
2019-04-28 15:29:05 +08:00
UT_019 :
2018-06-26 11:13:04 +02:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-06-26 11:13:04 +02:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- Example_SPI_Multi_device
2018-08-26 12:15:51 +08:00
2019-04-28 15:29:05 +08:00
UT_020 :
2018-06-26 11:13:04 +02:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- Example_SPI_Multi_device
- psram
2018-06-08 17:39:00 +05:30
2019-04-28 15:29:05 +08:00
UT_021 :
2018-06-15 16:08:44 +05:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-06-15 16:08:44 +05:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_I2C
2018-06-15 16:08:44 +05:00
2019-04-28 15:29:05 +08:00
UT_022 :
2018-06-15 16:08:44 +05:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_I2C
- psram
2018-10-26 13:14:19 +08:00
2019-04-28 15:29:05 +08:00
UT_023 :
2018-10-26 13:14:19 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-10-26 13:14:19 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_MCPWM
2018-10-26 13:14:19 +08:00
2019-04-28 15:29:05 +08:00
UT_024 :
2018-10-26 13:14:19 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_MCPWM
- psram
2018-10-26 13:14:19 +08:00
2019-04-28 15:29:05 +08:00
UT_025 :
2018-10-29 23:55:02 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2018-10-29 23:55:02 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_I2S
2018-10-29 23:55:02 +08:00
2019-04-28 15:29:05 +08:00
UT_026 :
2018-11-05 23:19:30 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T1_I2S
- psram
2018-11-05 23:19:30 +08:00
2019-04-28 15:29:05 +08:00
UT_027 :
2017-12-27 17:42:41 +08:00
<< : *unit_test_template
2019-04-28 15:29:05 +08:00
parallel : 4
2017-12-27 17:42:41 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_1
2017-12-27 17:42:41 +08:00
2019-04-28 15:29:05 +08:00
UT_028 :
2017-12-27 17:42:41 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_1
- psram
2017-12-27 17:42:41 +08:00
2019-04-28 15:29:05 +08:00
UT_029 :
2019-02-20 21:01:27 +08:00
<< : *unit_test_template
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- UT_T2_1
- 8Mpsram
2019-02-20 21:01:27 +08:00
2019-08-28 16:17:28 +05:30
UT_030 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_1
UT_031 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_1
2019-10-14 09:22:55 +02:00
UT_032 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_1
- psram
2019-10-31 12:00:46 +08:00
UT_033 :
extends : .unit_test_template
parallel : 2
tags :
- ESP32_IDF
- UT_T1_PSRAMV0
- psram
2019-10-31 13:22:41 +08:00
UT_034 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_no32kXTAL
UT_035 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_no32kXTAL
UT_036 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_no32kXTAL
UT_037 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_no32kXTAL
- psram
UT_038 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_32kXTAL
UT_039 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_32kXTAL
UT_040 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_32kXTAL
UT_041 :
<< : *unit_test_template
tags :
- ESP32_IDF
- UT_T1_32kXTAL
- psram
2019-04-28 15:29:05 +08:00
IT_001 :
<< : *test_template
parallel : 3
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_4
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
IT_002 :
<< : *test_template
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_2
2017-09-13 20:39:43 +08:00
2019-04-28 15:29:05 +08:00
IT_003 :
<< : *test_template
parallel : 13
2017-09-13 20:39:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T2_5
2017-09-04 20:39:35 +08:00
2019-04-28 15:29:05 +08:00
IT_004 :
<< : *test_template
2017-11-05 21:50:43 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_APC
2017-11-05 21:50:43 +08:00
2019-04-28 15:29:05 +08:00
IT_005 :
<< : *test_template
2017-12-11 12:11:24 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_5
2017-12-11 12:11:24 +08:00
2019-04-28 15:29:05 +08:00
IT_006 :
<< : *test_template
2020-07-16 17:18:51 +08:00
parallel : 7
2018-05-11 16:42:52 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_6
2017-12-11 12:11:24 +08:00
2019-04-28 15:29:05 +08:00
IT_007 :
<< : *test_template
parallel : 3
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_7
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_008 :
<< : *test_template
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_8
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_009 :
<< : *test_template
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_3
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_011 :
<< : *test_template
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_MESH1
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_012 :
<< : *test_template
parallel : 2
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T2_MESH1
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_011_03 :
<< : *test_template
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T2_MESH1
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_013 :
<< : *test_template
2017-10-19 21:39:45 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T3_MESH1
2017-10-19 21:39:45 +08:00
2019-04-28 15:29:05 +08:00
IT_014 :
<< : *test_template
2018-06-04 12:39:18 +05:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T6_MESH1
2017-12-17 10:24:49 +08:00
2019-04-28 15:29:05 +08:00
IT_015 :
<< : *test_template
2017-12-17 10:24:49 +08:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T12_MESH1
2018-08-26 12:15:51 +08:00
2019-04-28 15:29:05 +08:00
IT_016 :
<< : *test_template
2020-07-16 16:27:33 +08:00
allow_failure : true
2018-06-26 11:13:04 +02:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T50_MESH1
2018-08-26 12:15:51 +08:00
2019-04-28 15:29:05 +08:00
IT_017 :
<< : *test_template
2018-03-22 18:39:19 +05:00
tags :
- ESP32_IDF
2019-04-28 15:29:05 +08:00
- SSC_T1_MESH2
2018-03-22 18:39:19 +05:00
2019-04-28 15:29:05 +08:00
IT_018 :
<< : *test_template
2018-04-17 16:28:00 +08:00
tags :
- ESP32_IDF
- SSC_T1_9
2019-04-28 15:29:05 +08:00
IT_019 :
2016-09-28 19:48:38 +08:00
<< : *test_template
2019-04-28 15:29:05 +08:00
parallel : 2
2016-09-28 19:48:38 +08:00
tags :
- ESP32_IDF
2018-08-26 12:15:51 +08:00
- SSC_T2_2
2016-09-28 19:48:38 +08:00
2019-04-28 15:29:05 +08:00
IT_020 :
2016-09-28 19:48:38 +08:00
<< : *test_template
tags :
- ESP32_IDF
2018-08-26 12:15:51 +08:00
- SSC_T2_3
2016-09-28 19:48:38 +08:00
2019-04-28 15:29:05 +08:00
IT_021 :
2016-09-28 19:48:38 +08:00
<< : *test_template
tags :
- ESP32_IDF
2018-10-17 19:23:46 +05:30
- SSC_T2_4