-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 938 Bytes
/
main.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: Humble CI
on:
push:
branches:
- main
jobs:
humble_source:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- run: sudo apt-get install -y ros-humble-pcl-*
- run: |
# Create the workspace and move the repository to src
mkdir -p ~/ros2_ws/src
mv $(ls -d * | grep -v ros2_ws) ~/ros2_ws/src
cd ~/ros2_ws
# Install and initialize rosdep
sudo apt-get update
# sudo apt-get install -y python3-rosdep
sudo rosdep init
rosdep update
- run: |
cd ~/ros2_ws
rosdep install --from-paths src -i -r -y
- uses: ros-tooling/[email protected]
with:
package-name: kuka_package
target-ros2-distro: humble