-
Notifications
You must be signed in to change notification settings - Fork 30
40 lines (36 loc) · 988 Bytes
/
ci.yml
File metadata and controls
40 lines (36 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
pull_request:
branches:
- '**'
workflow_dispatch:
inputs:
name:
description: "Manual trigger"
jobs:
micro_ros_demos:
runs-on: ubuntu-24.04
container: microros/base:kilted
defaults:
run:
shell: bash
steps:
- name: Download environment
run: |
cd /uros_ws
apt update
rosdep update
source /opt/ros/kilted/setup.bash
source install/local_setup.bash
rosdep update
ros2 run micro_ros_setup create_firmware_ws.sh host
rm -rf src/uros/micro-ROS-demos
- uses: actions/checkout@v3
with:
path: uros_ws/src/uros/micro-ROS-demos
- name: Build
run: |
cd /uros_ws
source /opt/ros/kilted/setup.bash
source install/local_setup.bash
ros2 run micro_ros_setup build_firmware.sh