diff --git a/.github/workflows/upload_component.yml b/.github/workflows/upload_component.yml new file mode 100644 index 0000000..eee7399 --- /dev/null +++ b/.github/workflows/upload_component.yml @@ -0,0 +1,19 @@ +name: Push component to https://components.espressif.com +on: + push: + tags: + - v* +jobs: + upload_components: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: "recursive" + - name: Upload component to the component registry + uses: espressif/upload-components-ci-action@v1 + with: + name: "esp-dsp" + version: ${{ github.ref_name }} + namespace: "espressif" + api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e53596..854b77f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,6 @@ variables: TEST_DIR: "$CI_PROJECT_DIR/test_app" SIZE_INFO_LOCATION: "${TEST_DIR}/size_info.txt" - ESP_IDF_GIT: "https://gitlab-ci-token:${CI_JOB_TOKEN}@${GITLAB_HTTPS_SERVER}/espressif/esp-idf.git" .setup_idf_tools: &setup_idf_tools | @@ -177,7 +176,7 @@ build_clang_idf_latest: - python -m idf_build_apps build -v -p . --recursive --target all - --default-build-targets "${TEST_TARGETS}" + --default-build-targets ${TEST_TARGETS} --config "sdkconfig.*=" --build-dir "build" --collect-size-info $SIZE_INFO_LOCATION --parallel-count ${CI_NODE_TOTAL:-1} @@ -221,7 +220,7 @@ build_latest_test_app: # - tools/idf_tools.py --non-interactive install cmake # - tools/idf_tools.py install-python-env # - tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1 - # - ' "ESP-IDF: ${IDF_VERSION}" >> ${TEST_DIR}/idf_version_info.txt' + # - 'echo "ESP-IDF: ${IDF_VERSION}" >> ${TEST_DIR}/idf_version_info.txt' # - pip install "pytest-embedded-serial-esp~=1.2.3" "pytest-embedded-idf~=1.2.3" .test_template: @@ -339,20 +338,3 @@ push_master_to_github: - git clone --depth 1 ${ESP_IDF_GIT} esp-idf - *add_gh_key_remote - esp-idf/tools/ci/push_to_github.sh - -upload_to_component_manager: - image: espressif/idf:latest - stage: deploy - tags: - - deploy - only: - - master - - /^release\/v/ - - /^v\d+\.\d+(\.\d+)?($|-)/ - when: on_success - dependencies: [] - script: - - pip install idf-component-manager - - export IDF_COMPONENT_REGISTRY_URL=https://components.espressif.com/ - - export IDF_COMPONENT_STORAGE_URL=https://components-file.espressif.com/ - - python -m idf_component_manager upload-component --allow-existing --name=esp-dsp --namespace=espressif diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d58fe0..ad9315f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +### Added + +### Removed + +## [1.5.2] 2024-08-16 + ### Changed - Add esp32p4 chip to chip list into main readme diff --git a/idf_component.yml b/idf_component.yml index 5e4b987..5082066 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,5 +1,3 @@ -version: "1.5.1" - description: ESP-DSP is the official DSP library for Espressif SoCs. url: https://github.com/espressif/esp-dsp repository: https://github.com/espressif/esp-dsp.git @@ -11,7 +9,7 @@ examples: - path: ./applications/azure_board_apps - path: ./applications/azure_board_apps/apps - path: ./applications/lyrat_board_app - + files: exclude: - "**/Makefile"