Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar-Ray-code committed Dec 1, 2023
1 parent 20aa343 commit 2cd68ea
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci_humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ci_humble

on:
push:
branches:
- "humble"
pull_request:
types: [opened, synchronize, labeled]

jobs:
ci:
runs-on: ${{ matrix.os }}
if: |
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING') && (github.base_ref == 'humble' )) ||
((github.event.action == 'synchronize') && (github.base_ref == 'humble') && contains(github.event.pull_request.labels.*.name, 'TESTING')) ||
(github.ref_name == 'humble')
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
timeout-minutes: 20
strategy:
fail-fast: true
matrix:
os: [ubuntu-22.04]
ros_distribution: [humble]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
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@v0.2
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
import-token: ${{ secrets.H6X_REPO_TOKEN }}
vcs-repo-file-url: build_depends.repos
package-name: |
auto_driver_hardware

0 comments on commit 2cd68ea

Please sign in to comment.