Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 23 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading