diff --git a/.github/workflows/build-and-test.sh b/.github/workflows/build-and-test.sh index 3819462..4752164 100755 --- a/.github/workflows/build-and-test.sh +++ b/.github/workflows/build-and-test.sh @@ -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. diff --git a/.github/workflows/ros2-ci.yml b/.github/workflows/ros2-ci.yml index 15f3e1c..6446a3d 100644 --- a/.github/workflows/ros2-ci.yml +++ b/.github/workflows/ros2-ci.yml @@ -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 }}