Skip to content

Commit

Permalink
Added action to build from release and source
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero committed Apr 15, 2024
1 parent 7f76ac9 commit e30b179
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 4 deletions.
59 changes: 55 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,67 @@ on:
- cron: "0 0 * * *" # every day at midnight

jobs:
build_and_test:
name: humble
clearpath_common_osrf_industrial_ci:
name: Humble OSRF Industrial
strategy:
matrix:
env:
- {ROS_DISTRO: humble, ROS_REPO: testing}
- {ROS_DISTRO: humble, ROS_REPO: main}
- {ROS_REPO: testing, ROS_DISTRO: humble}
- {ROS_REPO: main, ROS_DISTRO: humble}
fail-fast: false
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
clearpath_common_cpr_ci:
name: Humble Clearpath Release
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: clearpath-package-server
run: |
sudo apt install wget
wget https://packages.clearpathrobotics.com/public.key -O - | sudo apt-key add -
sudo sh -c 'echo "deb https://packages.clearpathrobotics.com/stable/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/clearpath-latest.list'
sudo apt-get update
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
target-ros2-distro: humble
package-name: |
clearpath_common
clearpath_control
clearpath_customization
clearpath_description
clearpath_generator_common
clearpath_mounts_description
clearpath_platform
clearpath_platform_description
clearpath_sensors_description
clearpath_common_src_ci:
name: Humble Clearpath Source
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
target-ros2-distro: humble
package-name: |
clearpath_common
clearpath_control
clearpath_customization
clearpath_description
clearpath_generator_common
clearpath_mounts_description
clearpath_platform
clearpath_platform_description
clearpath_sensors_description
vcs-repo-file-url: dependencies.repos
5 changes: 5 additions & 0 deletions dependencies.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repositories:
clearpath_config:
type: git
url: https://github.com/clearpathrobotics/clearpath_config.git
version: main

0 comments on commit e30b179

Please sign in to comment.