diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..f2c1f0d --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,28 @@ +name: main + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + container: + image: osrf/ros:humble-desktop + strategy: + matrix: + os: [ubuntu-22.04] + fail-fast: false + steps: + - name: Install deps + run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result + - name: build and test + uses: ros-tooling/action-ros-ci@0.3.5 + with: + package-name: solo12_description solo12_bringup + target-ros2-distro: humble + skip-tests: true diff --git a/solo12_bringup/package.xml b/solo12_bringup/package.xml index 9301ea6..3a64a90 100644 --- a/solo12_bringup/package.xml +++ b/solo12_bringup/package.xml @@ -17,7 +17,7 @@ gazebo_ros ros2_control robot_state_publisher - rviz + rviz ament_lint_auto ament_lint_common diff --git a/solo12_description/package.xml b/solo12_description/package.xml index 75c7a5a..ad7c94f 100644 --- a/solo12_description/package.xml +++ b/solo12_description/package.xml @@ -13,7 +13,7 @@ urdf rviz2 launch - launch_ros + launch_ros joint_state_publisher_gui joint_state_publisher robot_state_publisher