-
Notifications
You must be signed in to change notification settings - Fork 24
35 lines (32 loc) · 899 Bytes
/
ci.yml
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
name: CI
on:
pull_request:
branches:
- '**'
jobs:
micro_ros_demos:
runs-on: ubuntu-20.04
container: microros/base:rolling
defaults:
run:
shell: bash
steps:
- name: Download environment
run: |
cd /uros_ws
apt update
rosdep update
source /opt/ros/rolling/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@v2
with:
path: uros_ws/src/uros/micro-ROS-demos
- name: Build
run: |
cd /uros_ws
source /opt/ros/rolling/setup.bash
source install/local_setup.bash
ros2 run micro_ros_setup build_firmware.sh