Skip to content

Commit b0ebf5a

Browse files
Acuadros95pablogs9
andauthored
Humble release (#135)
* Modify CI * Update Signed-off-by: Pablo Garrido <[email protected]> * Update Signed-off-by: Pablo Garrido <[email protected]> * 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 <[email protected]>
1 parent d91c98a commit b0ebf5a

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,35 @@ name: CI micro-ROS Agent
33
on:
44
pull_request:
55
branches:
6-
- '**'
6+
- 'humble'
7+
schedule:
8+
- cron: '33 6 * * *'
79

810
jobs:
911

1012
microros_agent_ci:
11-
runs-on: ubuntu-20.04
12-
container: microros/base:rolling
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
with:
17-
path: urosagent
18-
19-
- name: Download dependencies
20-
run: |
21-
apt update
22-
cd /uros_ws
23-
. /opt/ros/$ROS_DISTRO/setup.sh
24-
. install/local_setup.sh
25-
rosdep update --rosdistro=$ROS_DISTRO
26-
ros2 run micro_ros_setup create_agent_ws.sh
27-
28-
- name: Patch branch
29-
run: |
30-
rm -rf /uros_ws/src/uros/micro-ROS-Agent/*
31-
cp -R urosagent/* /uros_ws/src/uros/micro-ROS-Agent/
32-
33-
- name: Build
34-
run: |
35-
cd /uros_ws
36-
. /opt/ros/$ROS_DISTRO/setup.sh
37-
. install/local_setup.sh
38-
ros2 run micro_ros_setup build_agent.sh
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
os: [ ubuntu-20.04 ]
18+
ros_distribution: [ humble ]
19+
include:
20+
- docker_image: ubuntu:jammy
21+
ros_distribution: humble
22+
container:
23+
image: ubuntu:jammy
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: ros-tooling/[email protected]
27+
with:
28+
use-ros2-testing: true
29+
required-ros-distributions: ${{ matrix.ros_distribution }}
30+
- name : Download and install dependencies
31+
run: |
32+
apt-get install ros-${{ matrix.ros_distribution }}-micro-ros-msgs
33+
apt-get install ros-${{ matrix.ros_distribution }}-rmw-fastrtps-cpp
34+
- uses : ros-tooling/[email protected]
35+
with:
36+
package-name: "micro_ros_agent"
37+
target-ros2-distro: ${{ matrix.ros_distribution }}

0 commit comments

Comments
 (0)