@@ -10,111 +10,7 @@ jobs:
1010 strategy :
1111 fail-fast : false
1212 matrix :
13- <<<<<<< HEAD
14- branch : [rolling, kilted, jazzy, humble]
15- idf_target : [ esp32, esp32s2, esp32c3, esp32s3, esp32c6]
16- idf_version : [ "espressif/idf:release-v4.4", "espressif/idf:release-v5.2" ]
17- exclude :
18- # Skip IDF v4 + ESP32C6 combination
19- - idf_target : esp32c6
20- idf_version : espressif/idf:release-v4.4
21- # Skip IDF v4 for rolling and kilted
22- - branch : rolling
23- idf_version : espressif/idf:release-v4.4
24- - branch : kilted
25- idf_version : espressif/idf:release-v4.4
26-
27-
28- container :
29- image : ${{ matrix.idf_version }}
30-
31- steps :
32- - uses : actions/checkout@v2
33- with :
34- path : micro_ros_espidf_component
35- ref : ${{ matrix.branch }}
36-
37- - name : Dependencies
38- shell : bash
39- run : |
40- apt update
41- export DEBIAN_FRONTEND=noninteractive
42- apt install -y git python3-pip
43- . $IDF_PATH/export.sh
44- pip3 install catkin_pkg lark-parser empy==3.3.4 colcon-common-extensions
45- # This line avoids the error when using Python < 3.7 https://importlib-resources.readthedocs.io/en/latest/
46- pip3 install importlib-resources
47- # this installs the modules also for global python interpreter, needed for IDF v5
48- /usr/bin/pip3 install catkin_pkg lark-parser empy==3.3.4 colcon-common-extensions importlib-resources
49-
50- # This line can be removed when https://github.com/colcon/colcon-python-setup-py/issues/56 is solved
51- - name : Patch setuptools
52- shell : bash
53- if : matrix.idf_version == 'espressif/idf:release-v4.4'
54- run : |
55- . $IDF_PATH/export.sh
56- pip3 install setuptools==68.1.2
57-
58- - name : Build sample - int32_publisher
59- shell : bash
60- run : |
61- . $IDF_PATH/export.sh
62- cd micro_ros_espidf_component/examples/int32_publisher
63- idf.py set-target ${{ matrix.idf_target }}
64- idf.py build
65-
66- - name : Build sample - low_consumption
67- shell : bash
68- if : matrix.idf_target != 'esp32c3' && matrix.idf_target != 'esp32s3' && matrix.idf_target != 'esp32c6'
69- run : |
70- . $IDF_PATH/export.sh
71- cd micro_ros_espidf_component/examples/low_consumption
72- idf.py set-target ${{ matrix.idf_target }}
73- idf.py build
74-
75- - name : Build sample - handle_static_types
76- shell : bash
77- run : |
78- . $IDF_PATH/export.sh
79- cd micro_ros_espidf_component/examples/handle_static_types
80- idf.py set-target ${{ matrix.idf_target }}
81- idf.py build
82-
83- - name : Build sample - int32_publisher_custom_transport
84- shell : bash
85- run : |
86- . $IDF_PATH/export.sh
87- cd micro_ros_espidf_component
88- make -f libmicroros.mk clean
89- sed -i 's/DRMW_UXRCE_TRANSPORT=udp/DRMW_UXRCE_TRANSPORT=custom/' colcon.meta
90- cd examples/int32_publisher_custom_transport
91- idf.py set-target ${{ matrix.idf_target }}
92- idf.py build
93-
94- - name : Build sample - multithread_publisher
95- shell : bash
96- run : |
97- . $IDF_PATH/export.sh
98- cd micro_ros_espidf_component
99- make -f libmicroros.mk clean
100- sed -i 's/DRMW_UXRCE_TRANSPORT=udp/DRMW_UXRCE_TRANSPORT=custom/' colcon.meta
101- cd examples/multithread_publisher
102- idf.py set-target ${{ matrix.idf_target }}
103- idf.py build
104-
105- - name : EmbeddedRTPS
106- if : ${{ matrix.branch == 'humble' }}
107- shell : bash
108- run : |
109- . $IDF_PATH/export.sh
110- cd micro_ros_espidf_component
111- make -f libmicroros.mk clean
112- cd examples/int32_publisher_embeddedrtps
113- idf.py set-target ${{ matrix.idf_target }}
114- idf.py build
115- =======
11613 branch : [humble, jazzy, kilted, rolling]
11714 uses : ./.github/workflows/ci.yml
11815 with :
11916 branch : ${{ matrix.branch }}
120- >>>>>>> d749ff1 (Multiple CI and README.md Improvements (#324))
0 commit comments