From 5afe3e6b24f2c18b5c484e1f36e329643928b322 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 4 Jun 2019 13:22:56 +0200 Subject: [PATCH] ci: internal ci step for building with legacy idf to avoid travis failures --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3461a4c..393b499 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,8 @@ stages: variables: IDF_REPO: ${GITLAB_SSH_SERVER}/idf/esp-idf.git + OLDER_IDF: release/v3.1 + RECENT_IDF: release/v3.3 .add_gh_key_remote: &add_gh_key_remote | cit_add_ssh_key "${GH_PUSH_KEY}" @@ -19,6 +21,23 @@ before_script: - source citools/import_functions - PATH=$CI_PROJECT_DIR/esp-idf/tools:$PATH +build_with_older_idf: + stage: build + image: ${CI_DOCKER_REGISTRY}/esp32-ci-env + tags: + - build + dependencies: [] + script: + - cit_add_ssh_key "${GITLAB_KEY}" + - git clone "${IDF_REPO}" && cd esp-idf && git checkout ${OLDER_IDF} + - ./tools/ci/mirror-submodule-update.sh + - export IDF_PATH=$(pwd) + - cd $CI_PROJECT_DIR + - ./modify_for_legacy_idf.sh ${RECENT_IDF} || true + - cd $CI_PROJECT_DIR/examples/tcp + - make defconfig + - make + build_with_idf: stage: build image: ${CI_DOCKER_REGISTRY}/esp32-ci-env