Skip to content

Commit 063707b

Browse files
committed
Add v2.7.0 and v3.1.0
Signed-off-by: Pablo Garrido <pablogs9@gmail.com> Fix Signed-off-by: Pablo Garrido <pablogs9@gmail.com> Fix Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
1 parent 4bc9a7e commit 063707b

File tree

2 files changed

+126
-3
lines changed

2 files changed

+126
-3
lines changed

.github/workflows/ci.yml

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
zephyr_version: ["zephyr-v2.4.0", "zephyr-v2.5.0", "zephyr-v2.6.0"]
16+
zephyr_version: ["zephyr-v2.4.0", "zephyr-v2.5.0", "zephyr-v2.6.0", "zephyr-v2.7.2"]
1717
include:
1818
- zephyr_version: zephyr-v2.4.0
1919
zephyr_sdk: 0.11.4
@@ -24,6 +24,9 @@ jobs:
2424
- zephyr_version: zephyr-v2.6.0
2525
zephyr_sdk: 0.12.4
2626
sdk_filename: zephyr-toolchain-arm-$TOOLCHAIN_VERSION-x86_64-linux-setup.run
27+
- zephyr_version: zephyr-v2.7.2
28+
zephyr_sdk: 0.13.1
29+
sdk_filename: zephyr-toolchain-arm-$TOOLCHAIN_VERSION-linux-x86_64-setup.run
2730
steps:
2831
- uses: actions/checkout@v2
2932
with:
@@ -64,3 +67,57 @@ jobs:
6467
pip3 install --upgrade Sphinx
6568
# Building the app
6669
west build -b disco_l475_iot1 micro_ros_zephyr_module
70+
71+
micro_ros_zephyr_module_v3:
72+
runs-on: ubuntu-latest
73+
container: ubuntu:22.04
74+
strategy:
75+
fail-fast: false
76+
matrix:
77+
zephyr_version: ["zephyr-v3.1.0"]
78+
include:
79+
- zephyr_version: zephyr-v3.1.0
80+
zephyr_sdk: 0.14.2
81+
sdk_filename: zephyr-sdk-$TOOLCHAIN_VERSION_linux-x86_64_minimal.tar.gz
82+
steps:
83+
- uses: actions/checkout@v2
84+
with:
85+
path: micro_ros_zephyr_module
86+
87+
- name: Dependencies
88+
shell: bash
89+
run: |
90+
apt update
91+
export DEBIAN_FRONTEND=noninteractive
92+
apt install -y --no-install-recommends git cmake ninja-build gperf \
93+
ccache dfu-util device-tree-compiler wget \
94+
python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
95+
make gcc gcc-multilib g++-multilib libsdl2-dev
96+
pip3 install --user -U west
97+
export PATH=~/.local/bin:/github/home/.local/bin:"$PATH"
98+
west init zephyrproject
99+
cd zephyrproject
100+
cd zephyr
101+
git checkout ${{ matrix.zephyr_version }}
102+
cd ..
103+
west update
104+
west zephyr-export
105+
pip3 install --user -r zephyr/scripts/requirements.txt
106+
cd ..
107+
export TOOLCHAIN_VERSION=${{ matrix.zephyr_sdk }}
108+
export TOOLCHAIN_FILE_NAME=${{ matrix.sdk_filename }}
109+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v$TOOLCHAIN_VERSION/$TOOLCHAIN_FILE_NAME
110+
tar xvf $TOOLCHAIN_FILE_NAME
111+
cd zephyr-sdk-$TOOLCHAIN_VERSION
112+
./setup.sh -h -t arm-zephyr-eabi -c
113+
cd ..
114+
source /zephyr-sdk-$TOOLCHAIN_VERSION/environment-setup-x86_64-pokysdk-linux
115+
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
116+
export ZEPHYR_SDK_INSTALL_DIR=$(pwd)/zephyr-sdk-$TOOLCHAIN_VERSION
117+
source zephyrproject/zephyr/zephyr-env.sh
118+
# Installing micro-ROS prerequisites
119+
pip3 install catkin_pkg lark-parser empy colcon-common-extensions
120+
# 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
121+
pip3 install --upgrade Sphinx
122+
# Building the app
123+
west build -b disco_l475_iot1 micro_ros_zephyr_module

.github/workflows/nightly.yml

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
zephyr_version: ["zephyr-v2.4.0", "zephyr-v2.5.0", "zephyr-v2.6.0"]
20-
distro: ["foxy", "rolling"]
19+
zephyr_version: ["zephyr-v2.4.0", "zephyr-v2.5.0", "zephyr-v2.6.0", "zephyr-v2.7.2"]
20+
distro: ["foxy", "humble", "rolling"]
2121
include:
2222
- distro: foxy
2323
branch: foxy
2424
- distro: rolling
2525
branch: main
26+
- distro: humble
27+
branch: humble
2628
- zephyr_version: zephyr-v2.4.0
2729
zephyr_sdk: 0.11.4
2830
sdk_filename: zephyr-toolchain-arm-$TOOLCHAIN_VERSION-setup.run
@@ -32,6 +34,9 @@ jobs:
3234
- zephyr_version: zephyr-v2.6.0
3335
zephyr_sdk: 0.12.4
3436
sdk_filename: zephyr-toolchain-arm-$TOOLCHAIN_VERSION-x86_64-linux-setup.run
37+
- zephyr_version: zephyr-v2.7.2
38+
zephyr_sdk: 0.13.1
39+
sdk_filename: zephyr-toolchain-arm-$TOOLCHAIN_VERSION-linux-x86_64-setup.run
3540
steps:
3641
- uses: actions/checkout@v2
3742
with:
@@ -72,3 +77,64 @@ jobs:
7277
pip3 install --upgrade Sphinx
7378
# Building the app
7479
west build -b disco_l475_iot1 micro_ros_zephyr_module
80+
81+
micro_ros_zephyr_module_v3:
82+
runs-on: ubuntu-latest
83+
container: ubuntu:22.04
84+
strategy:
85+
fail-fast: false
86+
matrix:
87+
zephyr_version: ["zephyr-v3.1.0"]
88+
distro: ["foxy", "humble", "rolling"]
89+
include:
90+
- distro: foxy
91+
branch: foxy
92+
- distro: rolling
93+
branch: main
94+
- distro: humble
95+
branch: humble
96+
- zephyr_version: zephyr-v3.1.0
97+
zephyr_sdk: 0.14.2
98+
sdk_filename: zephyr-sdk-$TOOLCHAIN_VERSION_linux-x86_64_minimal.tar.gz
99+
steps:
100+
- uses: actions/checkout@v2
101+
with:
102+
path: micro_ros_zephyr_module
103+
104+
- name: Dependencies
105+
shell: bash
106+
run: |
107+
apt update
108+
export DEBIAN_FRONTEND=noninteractive
109+
apt install -y --no-install-recommends git cmake ninja-build gperf \
110+
ccache dfu-util device-tree-compiler wget \
111+
python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
112+
make gcc gcc-multilib g++-multilib libsdl2-dev
113+
pip3 install --user -U west
114+
export PATH=~/.local/bin:/github/home/.local/bin:"$PATH"
115+
west init zephyrproject
116+
cd zephyrproject
117+
cd zephyr
118+
git checkout ${{ matrix.zephyr_version }}
119+
cd ..
120+
west update
121+
west zephyr-export
122+
pip3 install --user -r zephyr/scripts/requirements.txt
123+
cd ..
124+
export TOOLCHAIN_VERSION=${{ matrix.zephyr_sdk }}
125+
export TOOLCHAIN_FILE_NAME=${{ matrix.sdk_filename }}
126+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v$TOOLCHAIN_VERSION/$TOOLCHAIN_FILE_NAME
127+
tar xvf $TOOLCHAIN_FILE_NAME
128+
cd zephyr-sdk-$TOOLCHAIN_VERSION
129+
./setup.sh -h -t arm-zephyr-eabi -c
130+
cd ..
131+
source /zephyr-sdk-$TOOLCHAIN_VERSION/environment-setup-x86_64-pokysdk-linux
132+
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
133+
export ZEPHYR_SDK_INSTALL_DIR=$(pwd)/zephyr-sdk-$TOOLCHAIN_VERSION
134+
source zephyrproject/zephyr/zephyr-env.sh
135+
# Installing micro-ROS prerequisites
136+
pip3 install catkin_pkg lark-parser empy colcon-common-extensions
137+
# 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
138+
pip3 install --upgrade Sphinx
139+
# Building the app
140+
west build -b disco_l475_iot1 micro_ros_zephyr_module

0 commit comments

Comments
 (0)