From 0a2534bd73dd834425ccda12abdf7acba3469921 Mon Sep 17 00:00:00 2001 From: Narukara Date: Thu, 23 Jul 2026 14:42:40 +0800 Subject: [PATCH] drop support for idf 5.2/5.3 on rolling --- .github/workflows/ci.yml | 26 +++++++++++++++++++++++--- README.md | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b95c279..44301001 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,13 +18,34 @@ on: workflow_dispatch: jobs: + setup: + runs-on: ubuntu-latest + outputs: + target_branch: ${{ steps.set.outputs.target_branch }} + idf_versions: ${{ steps.set.outputs.idf_versions }} + steps: + - id: set + shell: bash + env: + TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }} + run: | + echo "::notice::TARGET_BRANCH=$TARGET_BRANCH" + if [ "$TARGET_BRANCH" = "rolling" ]; then + idf_versions='["v5.4","v5.5","v6.0"]' + else + idf_versions='["v5.2","v5.3","v5.4","v5.5","v6.0"]' + fi + echo "target_branch=$TARGET_BRANCH" >> "$GITHUB_OUTPUT" + echo "idf_versions=$idf_versions" >> "$GITHUB_OUTPUT" + micro_ros_idf: + needs: setup runs-on: ubuntu-latest strategy: fail-fast: false matrix: idf_target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6] - idf_version: [v5.2, v5.3, v5.4, v5.5, v6.0] + idf_version: ${{ fromJson(needs.setup.outputs.idf_versions) }} container: image: "espressif/idf:release-${{ matrix.idf_version }}" @@ -38,10 +59,9 @@ jobs: - name: Dependencies shell: bash env: - TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }} + TARGET_BRANCH: ${{ needs.setup.outputs.target_branch }} run: | . $IDF_PATH/export.sh - echo "::notice::TARGET_BRANCH=$TARGET_BRANCH" if [ "$TARGET_BRANCH" = "humble" ]; then python3 -m pip uninstall -y em empy || true python3 -m pip install catkin_pkg colcon-common-extensions lark "empy==3.3.4" diff --git a/README.md b/README.md index 1b1eedc3..40ad8e68 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ # micro-ROS component for ESP-IDF -This component has been tested in ESP-IDF v5.2, v5.3, v5.4, v5.5, and v6.0 with ESP32, ESP32-S2, ESP32-S3, ESP32-C3 and ESP32-C6. +This component has been tested in ESP-IDF v5.4, v5.5, and v6.0 with ESP32, ESP32-S2, ESP32-S3, ESP32-C3 and ESP32-C6. ## Dependencies