Skip to content

Nightly

Nightly #1742

Workflow file for this run

name: Nightly
on:
workflow_dispatch:
inputs:
name:
description: "Manual trigger"
schedule:
- cron: '0 4 * * *'
jobs:
nightly_micro_ros_zephyr_module:
runs-on: ubuntu-latest
container:
image: zephyrprojectrtos/ci:v0.26.17
options: --user root
env:
CMAKE_PREFIX_PATH: /opt/toolchains
strategy:
fail-fast: false
matrix:
zephyr_version: ["v4.0.0", "v4.1.0"]
distro: ["rolling", "kilted", "jazzy", "humble"]
include:
- distro: rolling
branch: rolling
- distro: kilted
branch: kilted
- distro: jazzy
branch: jazzy
- distro: humble
branch: humble
steps:
- uses: actions/checkout@v4
with:
path: micro_ros_zephyr_module
ref: ${{ matrix.branch }}
- name: Build
shell: bash
run: |
# Zephyr setup
apt -y update
west init
cd zephyr
git checkout ${{ matrix.zephyr_version }}
cd ..
west update --narrow
# Installing micro-ROS prerequisites
pip3 install catkin_pkg lark-parser empy colcon-common-extensions
if [[ ${{ matrix.branch }} == "humble" ]]; then
# Use empy version 3.3.4 for Humble
pip3 install empy==3.3.4
fi
# Build with Serial USB transport
west build -b disco_l475_iot1 $GITHUB_WORKSPACE/micro_ros_zephyr_module -p -- -DCONFIG_MICROROS_TRANSPORT_SERIAL_USB=y
# Build with Serial transport
west build -b disco_l475_iot1 $GITHUB_WORKSPACE/micro_ros_zephyr_module -p -- -DCONFIG_MICROROS_TRANSPORT_SERIAL=y