Skip to content

Commit

Permalink
Add github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dave992 committed May 2, 2024
1 parent af04fae commit 37c2452
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 34 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see README (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: CI

on:
push:
branches: [main] # when there is a pull request against main
pull_request:
branches: [main] # when there is a pull request against main
workflow_dispatch: # allow manually starting this workflow

jobs:
industrial_ci:
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }})
runs-on: ubuntu-latest
strategy:
matrix:
ROS_DISTRO: [humble]
ROS_REPO: [testing, main]
env:
CCACHE_DIR: "${{ github.workspace }}/.ccache" # directory for ccache (and how we enable ccache in industrial_ci)
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v2 # fetch/store the directory used by ccache before/after the ci run
with:
path: ${{ env.CCACHE_DIR }}
# This configuration will always create a new ccache cache starting off from the previous one (if any).
# In this simple version it will be shared between all builds of the same ROS_REPO and ROS_REPO
# and might need some fine-tuning to match the use case
key: ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-${{github.run_id}}
restore-keys: |
ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
34 changes: 0 additions & 34 deletions .gitlab-ci.yml

This file was deleted.

1 change: 1 addition & 0 deletions penelope_aerospace_pl_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<depend>geometry_msgs</depend>
<depend>sensor_msgs</depend>
<depend>shape_msgs</depend>
<depend>trajectory_msgs</depend>

<member_of_group>rosidl_interface_packages</member_of_group>
Expand Down

0 comments on commit 37c2452

Please sign in to comment.