Skip to content
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

CI: add ROS2/rolling builds; fix git checkout action #148

Merged
merged 1 commit into from
Aug 8, 2024
Merged
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: 5 additions & 15 deletions .github/workflows/build-ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ jobs:
DEBIAN_FRONTEND: noninteractive
strategy:
matrix:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
# ros_distribution:
# - humble
# - iron
# - rolling

# Define the Docker image(s) associated with each ROS distribution.
# The include syntax allows additional variables to be defined, like
# docker_image in this case. See documentation:
Expand All @@ -37,19 +30,16 @@ jobs:
ros_version: 2

# Rolling Ridley (No End-Of-Life)
# - docker_image: ubuntu:noble
# ros_distribution: rolling
# ros_version: 2
- docker_image: ubuntu:noble
ros_distribution: rolling
ros_version: 2

container:
image: ${{ matrix.docker_image }}

steps:
- name: Checkout
run: |
apt-get -y update
apt-get -y install git
git clone https://github.com/$GITHUB_REPOSITORY.git --recursive "$GITHUB_WORKSPACE"
- name: Checkout source code
uses: actions/checkout@v3

- name: setup ROS environment
uses: ros-tooling/[email protected]
Expand Down
Loading