forked from boston-dynamics/spot-cpp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information
1 parent
ee6fa91
commit b487871
Showing
13 changed files
with
87 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG ROS_DISTRO=humble | ||
FROM ros:${ROS_DISTRO}-ros-base | ||
|
||
# setup environment | ||
ENV LANG=C.UTF-8 | ||
ENV LC_ALL=C.UTF-8 | ||
ENV ROS_DISTRO=${ROS_DISTRO} | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q && \ | ||
apt-get update -q && \ | ||
apt-get install -yq --no-install-recommends \ | ||
python3-pip \ | ||
python-is-python3 \ | ||
python3-argcomplete \ | ||
python3-colcon-common-extensions \ | ||
python3-colcon-mixin \ | ||
python3-pytest-cov \ | ||
python3-rosdep && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install dependencies for repository packages | ||
RUN --mount=type=bind,source=.,target=/tmp/context \ | ||
apt-get update -q && rosdep update && \ | ||
rosdep install -y -i --from-paths /tmp/context && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# ROS doesn't recognize the docker shells as terminals so force colored output | ||
ENV RCUTILS_COLORIZED_OUTPUT=1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "spot-cpp-sdk dev container", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"context": ".." | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Spot C++ SDK CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- ros2 | ||
push: | ||
branches: | ||
- ros2 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
concurrency: | ||
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/ros2' && github.sha || ''}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: Build Spot C++ SDK package | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ros:humble-ros-base | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt-get update | ||
rosdep update | ||
rosdep install -i -y --from-path cpp | ||
- name: Build package | ||
run: | | ||
source /opt/ros/humble/setup.bash | ||
colcon build --symlink-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.