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 Aug 11, 2024
1 parent ca3c629 commit 0b2c910
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci_foxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ci_foxy

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

jobs:
ci:
runs-on: ${{ matrix.os }}
if: |
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING')) ||
((github.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
ros_distribution: [foxy]
steps:
- name: Install OpenVINO
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
sudo apt-get update
sudo apt install openvino-2024.3.0
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
- name: Build and Test
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: true
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"
39 changes: 39 additions & 0 deletions .github/workflows/ci_humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
ros_distribution: [humble]
steps:
- name: Install OpenVINO
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu22 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
sudo apt-get update
sudo apt install openvino-2024.3.0
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
- name: Build and Test
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: true
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"
39 changes: 39 additions & 0 deletions .github/workflows/ci_jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ci_jazzy

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

jobs:
ci:
runs-on: ${{ matrix.os }}
if: |
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING')) ||
((github.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
ros_distribution: [jazzy]
steps:
- name: Install OpenVINO
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu24 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
sudo apt-get update
sudo apt install openvino-2024.3.0
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
- name: Build and Test
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: true
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"

0 comments on commit 0b2c910

Please sign in to comment.