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>
(cherry picked from commit b0ebf5ab3f)
# Conflicts:
# .github/workflows/ci.yml
* Update with foxy
* Update .github/workflows/ci.yml
Co-authored-by: Antonio Cuadros <49162117+Acuadros95@users.noreply.github.com>
Co-authored-by: acuadros95 <acuadros1995@gmail.com>
This commit is contained in:
co-authored by
Antonio Cuadros
acuadros95
parent
b17a6ef959
commit
1325442eb5
+28
-28
@@ -3,36 +3,36 @@ name: CI micro-ROS Agent
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- 'foxy'
|
||||||
|
schedule:
|
||||||
|
- cron: '33 6 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
microros_agent_ci:
|
microros_agent_ci:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container: microros/base:foxy
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-20.04 ]
|
||||||
|
ros_distribution: [ foxy ]
|
||||||
|
include:
|
||||||
|
- docker_image: ubuntu:20.04
|
||||||
|
ros_distribution: foxy
|
||||||
|
container:
|
||||||
|
image: ubuntu:20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: ros-tooling/setup-ros@0.3.2
|
||||||
|
with:
|
||||||
|
use-ros2-testing: false
|
||||||
|
required-ros-distributions: ${{ matrix.ros_distribution }}
|
||||||
|
- name : Download and install dependencies
|
||||||
|
run: |
|
||||||
|
apt-get install ros-${{ matrix.ros_distribution }}-micro-ros-msgs
|
||||||
|
apt-get install ros-${{ matrix.ros_distribution }}-rmw-fastrtps-cpp
|
||||||
|
- uses : ros-tooling/action-ros-ci@0.2.5
|
||||||
|
with:
|
||||||
|
package-name: "micro_ros_agent"
|
||||||
|
target-ros2-distro: ${{ matrix.ros_distribution }}
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
path: urosagent
|
|
||||||
|
|
||||||
- name: Download dependencies
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
cd /uros_ws
|
|
||||||
. /opt/ros/$ROS_DISTRO/setup.sh
|
|
||||||
. install/local_setup.sh
|
|
||||||
rosdep update --rosdistro=$ROS_DISTRO
|
|
||||||
ros2 run micro_ros_setup create_agent_ws.sh
|
|
||||||
|
|
||||||
- name: Patch branch
|
|
||||||
run: |
|
|
||||||
rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
|
|
||||||
cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
cd /uros_ws
|
|
||||||
. /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