Skip to content

Implement CI/CD #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/industrial_ci_action.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build ROS Package

on:
pull_request:
branches: [main, dev]
push:
branches: [main, dev]
workflow_dispatch:

jobs:
ros_build:
runs-on: ubuntu-latest
container:
image: ros:noetic-ros-base-focal

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install catkin tools and deps
run: |
export DEBIAN_FRONTEND=noninteractive
echo "keyboard-configuration keyboard-configuration/layoutcode string us" | sudo debconf-set-selections
echo "keyboard-configuration keyboard-configuration/modelcode string pc105" | sudo debconf-set-selections
sudo apt update
sudo apt install -y git python3-catkin-tools python3-pip
sudo apt install -y \
ros-noetic-roscpp \
ros-noetic-visualization-msgs \
ros-noetic-sensor-msgs \
ros-noetic-pcl-ros \
ros-noetic-pcl-conversions \
ros-noetic-nav-msgs \
ros-noetic-std-msgs \
ros-noetic-std-srvs \
ros-noetic-octomap \
ros-noetic-octomap-msgs \
ros-noetic-octomap-ros \
ros-noetic-dynamic-reconfigure \
ros-noetic-nodelet

- name: Build workspace
shell: bash
run: |
source /opt/ros/noetic/setup.bash
mkdir -p ~/catkin_ws/src
cp -r . ~/catkin_ws/src/
cd ~/catkin_ws
rosdep update
rosdep install --from-paths src --ignore-src -r -y
catkin init
catkin config --extend /opt/ros/noetic
catkin build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
octomap_mapping ![CI](https://github.com/OctoMap/octomap_mapping/workflows/CI/badge.svg)
octomap_mapping ![CI](https://github.com/verlab/octomap_mapping/actions/workflows/workflow.yml/badge.svg)
===============

ROS stack for mapping with OctoMap, contains the `octomap_server` package.
Expand Down