Skip to content

Commit

Permalink
added file for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gpearcey committed Dec 19, 2023
1 parent 8b6cac4 commit 76fc200
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/auto_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: AutoBuild

on:
push:
branches: [ "gp-AddingWorkFlowsForBuilding" ]
pull_request:
branches: [ "gp-AddingWorkFlowsForBuilding" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
ros_version: [melodic]
env:
ROS_DISTRO: ${{ matrix.ros_version }}

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up ROS environment
uses: ros-tooling/setup-ros@v2
with:
ros-distro: ${{ matrix.ros_version }}

- name: Install dependencies
run: |
sudo apt-get update
rosdep install --from-paths src --ignore-src -r -y
- name: Build the ROS package
run: catkin build

0 comments on commit 76fc200

Please sign in to comment.