Skip to content

Commit b487871

Browse files
authored
Prepare for ROS 2 release (#10)
* Update package maintainers Signed-off-by: Michel Hidalgo <[email protected]> * Update READMEs Signed-off-by: Michel Hidalgo <[email protected]> * Update CI and dev workflows Signed-off-by: Michel Hidalgo <[email protected]> --------- Signed-off-by: Michel Hidalgo <[email protected]>
1 parent ee6fa91 commit b487871

File tree

13 files changed

+87
-278
lines changed

13 files changed

+87
-278
lines changed

.devcontainer/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
ARG ROS_DISTRO=humble
2+
FROM ros:${ROS_DISTRO}-ros-base
3+
4+
# setup environment
5+
ENV LANG=C.UTF-8
6+
ENV LC_ALL=C.UTF-8
7+
ENV ROS_DISTRO=${ROS_DISTRO}
8+
9+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
10+
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q && \
11+
apt-get update -q && \
12+
apt-get install -yq --no-install-recommends \
13+
python3-pip \
14+
python-is-python3 \
15+
python3-argcomplete \
16+
python3-colcon-common-extensions \
17+
python3-colcon-mixin \
18+
python3-pytest-cov \
19+
python3-rosdep && \
20+
rm -rf /var/lib/apt/lists/*
21+
22+
# Install dependencies for repository packages
23+
RUN --mount=type=bind,source=.,target=/tmp/context \
24+
apt-get update -q && rosdep update && \
25+
rosdep install -y -i --from-paths /tmp/context && \
26+
rm -rf /var/lib/apt/lists/*
27+
28+
# ROS doesn't recognize the docker shells as terminals so force colored output
29+
ENV RCUTILS_COLORIZED_OUTPUT=1

.devcontainer/Dockerfile.amd64

Lines changed: 0 additions & 34 deletions
This file was deleted.

.devcontainer/Dockerfile.amd64_vcpkg

Lines changed: 0 additions & 27 deletions
This file was deleted.

.devcontainer/Dockerfile.arm64

Lines changed: 0 additions & 34 deletions
This file was deleted.

.devcontainer/Dockerfile.arm64_vcpkg

Lines changed: 0 additions & 29 deletions
This file was deleted.

.devcontainer/build.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "spot-cpp-sdk dev container",
3+
"build": {
4+
"dockerfile": "Dockerfile",
5+
"context": ".."
6+
}
7+
}

.devcontainer/entrypoint.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 0 additions & 121 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Spot C++ SDK CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- ros2
7+
push:
8+
branches:
9+
- ros2
10+
11+
defaults:
12+
run:
13+
shell: bash
14+
15+
concurrency:
16+
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/ros2' && github.sha || ''}}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
name: Build Spot C++ SDK package
22+
runs-on: ubuntu-latest
23+
container:
24+
image: ros:humble-ros-base
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
29+
- name: Install dependencies
30+
run: |
31+
apt-get update
32+
rosdep update
33+
rosdep install -i -y --from-path cpp
34+
35+
- name: Build package
36+
run: |
37+
source /opt/ros/humble/setup.bash
38+
colcon build --symlink-install

0 commit comments

Comments
 (0)