diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..344cd1b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: ROS 2 Workspace Action +# You may pin to the exact commit or the version. +# uses: ros/tooling-setup-actions/setup-ros@v1 +name: ROS 2 Workspace Build + +on: + push: + branches: + - ezBot-ROS_ws + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up ROS + uses: ros/tooling-setup-actions/setup-ros@v1 + with: + ros-distro: humble + + - name: Build workspace + run: colcon build