Skip to content

Commit

Permalink
Update CI to use packages (backport #31) (#36)
Browse files Browse the repository at this point in the history
* Update CI to use packages (#31)

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit d93a29a)
  • Loading branch information
mergify[bot] authored Oct 9, 2023
1 parent 1897703 commit f0ed6cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,13 @@ apt-get install -y python3-colcon-common-extensions \

rosdep init
rosdep update
rosdep install --from-paths ./ -i -y -r --rosdistro $ROS_DISTRO $ROSDEP_ARGS

# Build.
source /opt/ros/$ROS_DISTRO/setup.bash
mkdir -p $COLCON_WS_SRC
cp -r $GITHUB_WORKSPACE $COLCON_WS_SRC
cd $COLCON_WS
echo $1
wget $1
vcs import src < point_cloud_transport.repos
rosdep install --from-paths ./ -i -y -r --rosdistro $ROS_DISTRO $ROSDEP_ARGS
source /opt/ros/$ROS_DISTRO/setup.bash
colcon build --event-handlers console_direct+

# Tests.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ros2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Build and Test
run: .github/workflows/build-and-test.sh https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/point_cloud_transport.repos
run: .github/workflows/build-and-test.sh
env:
DOCKER_IMAGE: ${{ matrix.docker-image }}
ROS_DISTRO: ${{ matrix.ros-distro }}
5 changes: 0 additions & 5 deletions point_cloud_transport.repos

This file was deleted.

0 comments on commit f0ed6cd

Please sign in to comment.