@@ -12,28 +12,26 @@ jobs:
1212
1313 micro_ros_zephyr_module :
1414 runs-on : ubuntu-latest
15- container : ubuntu:22 .04
15+ container : ubuntu:20 .04
1616 strategy :
1717 fail-fast : false
1818 matrix :
19- zephyr_version : ["zephyr-v2.5 .0", "zephyr-v2.6 .0", "zephyr-v2.7.2 "]
20- distro : ["foxy", "humble", " rolling"]
19+ zephyr_version : ["zephyr-v2.4 .0", "zephyr-v2.5 .0", "zephyr-v2.6.0 "]
20+ distro : ["foxy", "rolling"]
2121 include :
2222 - distro : foxy
2323 branch : foxy
2424 - distro : rolling
2525 branch : main
26- - distro : humble
27- branch : humble
26+ - zephyr_version : zephyr-v2.4.0
27+ zephyr_sdk : 0.11.4
28+ sdk_filename : zephyr-toolchain-arm-$TOOLCHAIN_VERSION-setup.run
2829 - zephyr_version : zephyr-v2.5.0
2930 zephyr_sdk : 0.11.4
3031 sdk_filename : zephyr-toolchain-arm-$TOOLCHAIN_VERSION-setup.run
3132 - zephyr_version : zephyr-v2.6.0
3233 zephyr_sdk : 0.12.4
3334 sdk_filename : zephyr-toolchain-arm-$TOOLCHAIN_VERSION-x86_64-linux-setup.run
34- - zephyr_version : zephyr-v2.7.2
35- zephyr_sdk : 0.13.1
36- sdk_filename : zephyr-toolchain-arm-$TOOLCHAIN_VERSION-linux-x86_64-setup.run
3735 steps :
3836 - uses : actions/checkout@v2
3937 with :
4442 run : |
4543 apt update
4644 export DEBIAN_FRONTEND=noninteractive
47- apt install -y --no-install-recommends wget git cmake ninja-build gperf \
45+ apt install -y --no-install-recommends git cmake ninja-build gperf \
4846 ccache dfu-util device-tree-compiler wget curl gnupg2 \
4947 python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
5048 make gcc gcc-multilib g++-multilib libsdl2-dev
7068 source zephyrproject/zephyr/zephyr-env.sh
7169 # Installing micro-ROS prerequisites
7270 pip3 install catkin_pkg lark-parser empy colcon-common-extensions
73- # Building the app
74- west build -b disco_l475_iot1 micro_ros_zephyr_module
75-
76- micro_ros_zephyr_module_v3 :
77- runs-on : ubuntu-latest
78- container : ubuntu:22.04
79- strategy :
80- fail-fast : false
81- matrix :
82- zephyr_version : ["zephyr-v3.1.0"]
83- distro : ["foxy", "humble", "rolling"]
84- include :
85- - distro : foxy
86- branch : foxy
87- - distro : rolling
88- branch : main
89- - distro : humble
90- branch : humble
91- - zephyr_version : zephyr-v3.1.0
92- zephyr_sdk : 0.14.2
93- sdk_filename : zephyr-sdk-$TOOLCHAIN_VERSION_linux-x86_64_minimal.tar.gz
94- steps :
95- - uses : actions/checkout@v2
96- with :
97- path : micro_ros_zephyr_module
98-
99- - name : Dependencies
100- shell : bash
101- run : |
102- apt update
103- export DEBIAN_FRONTEND=noninteractive
104- apt install -y --no-install-recommends wget git cmake ninja-build gperf \
105- ccache dfu-util device-tree-compiler wget \
106- python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
107- make gcc gcc-multilib g++-multilib libsdl2-dev
108- pip3 install --user -U west
109- export PATH=~/.local/bin:/github/home/.local/bin:"$PATH"
110- west init zephyrproject
111- cd zephyrproject
112- cd zephyr
113- git checkout ${{ matrix.zephyr_version }}
114- cd ..
115- west update
116- west zephyr-export
117- pip3 install --user -r zephyr/scripts/requirements.txt
118- cd ..
119- export TOOLCHAIN_VERSION=${{ matrix.zephyr_sdk }}
120- export TOOLCHAIN_FILE_NAME=${{ matrix.sdk_filename }}
121- wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v$TOOLCHAIN_VERSION/$TOOLCHAIN_FILE_NAME
122- tar xvf $TOOLCHAIN_FILE_NAME
123- cd zephyr-sdk-$TOOLCHAIN_VERSION
124- ./setup.sh -h -t arm-zephyr-eabi -c
125- cd ..
126- source zephyr-sdk-$TOOLCHAIN_VERSION/environment-setup-x86_64-pokysdk-linux
127- export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
128- export ZEPHYR_SDK_INSTALL_DIR=$(pwd)/zephyr-sdk-$TOOLCHAIN_VERSION
129- source zephyrproject/zephyr/zephyr-env.sh
130- # Installing micro-ROS prerequisites
131- pip3 install catkin_pkg lark-parser empy colcon-common-extensions
71+ # Workaround. Remove when https://github.com/sphinx-doc/sphinx/issues/10291 and https://github.com/micro-ROS/micro_ros_zephyr_module/runs/5714546662?check_suite_focus=true
72+ pip3 install --upgrade Sphinx
13273 # Building the app
13374 west build -b disco_l475_iot1 micro_ros_zephyr_module
0 commit comments