mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
ci: update ci image
This commit is contained in:
parent
be905bdb6e
commit
6bf81a4681
@ -6,12 +6,12 @@ stages:
|
||||
|
||||
variables:
|
||||
# Versioned esp-idf-doc env image to use for all document building jobs
|
||||
ESP_DOCS_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env-v5.0"
|
||||
ESP_DOCS_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env-v5.3:1-1"
|
||||
ESP_SR_PATH: "$CI_PROJECT_DIR"
|
||||
BATCH_BUILD: "1"
|
||||
V: "0"
|
||||
IDF_CI_BUILD: "1"
|
||||
DOCKER_TARGET_TEST_v5_0_ENV_IMAGE: "$CI_DOCKER_REGISTRY/target-test-env-v5.0:3"
|
||||
DOCKER_TARGET_TEST_v5_0_ENV_IMAGE: "$CI_DOCKER_REGISTRY/target-test-env-v5.3:1"
|
||||
|
||||
before_script:
|
||||
# add gitlab ssh key
|
||||
@ -23,7 +23,7 @@ before_script:
|
||||
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
||||
- git --version
|
||||
- git submodule update --init --recursive --force
|
||||
- pip install idf_build_apps==1.1.4
|
||||
- pip install idf_build_apps
|
||||
|
||||
.if-protected: &if-protected
|
||||
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)'
|
||||
@ -228,7 +228,7 @@ build_esp_sr_html:
|
||||
parallel:
|
||||
matrix:
|
||||
- DOCLANG: ["en", "zh_CN"]
|
||||
DOCTGT: ["esp32", "esp32s3", "esp32p4"]
|
||||
DOCTGT: ["esp32", "esp32s3"]
|
||||
|
||||
build_esp_sr_pdf:
|
||||
extends:
|
||||
@ -250,7 +250,7 @@ build_esp_sr_pdf:
|
||||
parallel:
|
||||
matrix:
|
||||
- DOCLANG: ["en", "zh_CN"]
|
||||
DOCTGT: ["esp32", "esp32s3", "esp32p4"]
|
||||
DOCTGT: ["esp32", "esp32s3"]
|
||||
|
||||
|
||||
.deploy_docs_template:
|
||||
|
||||
@ -7,14 +7,13 @@ This file is used in CI generate binary files for different kinds of apps
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
import logging
|
||||
from idf_build_apps import App, build_apps, find_apps, setup_logging
|
||||
from idf_build_apps import build_apps, find_apps, setup_logging
|
||||
|
||||
LOGGER = logging.getLogger('idf_build_apps')
|
||||
|
||||
@ -59,8 +58,6 @@ def get_cmake_apps(
|
||||
target=target,
|
||||
build_dir=f'{idf_ver}/build_@t_@w',
|
||||
config_rules_str=config_rules_str,
|
||||
build_log_path='build_log.txt',
|
||||
size_json_path='size.json',
|
||||
check_warnings=True,
|
||||
preserve=True,
|
||||
default_build_targets=default_build_targets,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user