Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydran00 authored Dec 11, 2024
1 parent acd5d5c commit e2e2981
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit e2e2981

Please sign in to comment.