Skip to content

Commit 7f69ed1

Browse files
authored
drop support for idf 5.2/5.3 on rolling (#374)
1 parent 04f3cca commit 7f69ed1

2 files changed

Lines changed: 24 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,34 @@ on:
1818
workflow_dispatch:
1919

2020
jobs:
21+
setup:
22+
runs-on: ubuntu-latest
23+
outputs:
24+
target_branch: ${{ steps.set.outputs.target_branch }}
25+
idf_versions: ${{ steps.set.outputs.idf_versions }}
26+
steps:
27+
- id: set
28+
shell: bash
29+
env:
30+
TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }}
31+
run: |
32+
echo "::notice::TARGET_BRANCH=$TARGET_BRANCH"
33+
if [ "$TARGET_BRANCH" = "rolling" ]; then
34+
idf_versions='["v5.4","v5.5","v6.0"]'
35+
else
36+
idf_versions='["v5.2","v5.3","v5.4","v5.5","v6.0"]'
37+
fi
38+
echo "target_branch=$TARGET_BRANCH" >> "$GITHUB_OUTPUT"
39+
echo "idf_versions=$idf_versions" >> "$GITHUB_OUTPUT"
40+
2141
micro_ros_idf:
42+
needs: setup
2243
runs-on: ubuntu-latest
2344
strategy:
2445
fail-fast: false
2546
matrix:
2647
idf_target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6]
27-
idf_version: [v5.2, v5.3, v5.4, v5.5, v6.0]
48+
idf_version: ${{ fromJson(needs.setup.outputs.idf_versions) }}
2849

2950
container:
3051
image: "espressif/idf:release-${{ matrix.idf_version }}"
@@ -38,10 +59,9 @@ jobs:
3859
- name: Dependencies
3960
shell: bash
4061
env:
41-
TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }}
62+
TARGET_BRANCH: ${{ needs.setup.outputs.target_branch }}
4263
run: |
4364
. $IDF_PATH/export.sh
44-
echo "::notice::TARGET_BRANCH=$TARGET_BRANCH"
4565
if [ "$TARGET_BRANCH" = "humble" ]; then
4666
python3 -m pip uninstall -y em empy || true
4767
python3 -m pip install catkin_pkg colcon-common-extensions lark "empy==3.3.4"

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# micro-ROS component for ESP-IDF
99

10-
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.
10+
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.
1111

1212
## Dependencies
1313

0 commit comments

Comments
 (0)