mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
Humble release (#135)
* Modify CI * Update Signed-off-by: Pablo Garrido <pablogs9@gmail.com> * Update Signed-off-by: Pablo Garrido <pablogs9@gmail.com> * Update .github/workflows/ci.yml * Update .github/workflows/ci.yml * Modify CI * Update to ubuntu latest * Use pre-release repository * Use ubuntu-20.04 * Fix * Revert changes Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
This commit is contained in:
co-authored by
Pablo Garrido
parent
d91c98ab6e
commit
b0ebf5ab3f
+28
-29
@@ -3,36 +3,35 @@ name: CI micro-ROS Agent
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- 'humble'
|
||||||
|
schedule:
|
||||||
|
- cron: '33 6 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
microros_agent_ci:
|
microros_agent_ci:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
container: microros/base:rolling
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
steps:
|
matrix:
|
||||||
- uses: actions/checkout@v2
|
os: [ ubuntu-20.04 ]
|
||||||
with:
|
ros_distribution: [ humble ]
|
||||||
path: urosagent
|
include:
|
||||||
|
- docker_image: ubuntu:jammy
|
||||||
- name: Download dependencies
|
ros_distribution: humble
|
||||||
run: |
|
container:
|
||||||
apt update
|
image: ubuntu:jammy
|
||||||
cd /uros_ws
|
steps:
|
||||||
. /opt/ros/$ROS_DISTRO/setup.sh
|
- uses: actions/checkout@v2
|
||||||
. install/local_setup.sh
|
- uses: ros-tooling/setup-ros@0.3.2
|
||||||
rosdep update --rosdistro=$ROS_DISTRO
|
with:
|
||||||
ros2 run micro_ros_setup create_agent_ws.sh
|
use-ros2-testing: true
|
||||||
|
required-ros-distributions: ${{ matrix.ros_distribution }}
|
||||||
- name: Patch branch
|
- name : Download and install dependencies
|
||||||
run: |
|
run: |
|
||||||
rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
|
apt-get install ros-${{ matrix.ros_distribution }}-micro-ros-msgs
|
||||||
cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/
|
apt-get install ros-${{ matrix.ros_distribution }}-rmw-fastrtps-cpp
|
||||||
|
- uses : ros-tooling/action-ros-ci@0.2.5
|
||||||
- name: Build
|
with:
|
||||||
run: |
|
package-name: "micro_ros_agent"
|
||||||
cd /uros_ws
|
target-ros2-distro: ${{ matrix.ros_distribution }}
|
||||||
. /opt/ros/$ROS_DISTRO/setup.sh
|
|
||||||
. install/local_setup.sh
|
|
||||||
ros2 run micro_ros_setup build_agent.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user