Skip to content

Commit 0b2c910

Browse files
committed
add ci
1 parent ca3c629 commit 0b2c910

File tree

3 files changed

+117
-0
lines changed

3 files changed

+117
-0
lines changed

.github/workflows/ci_foxy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: ci_foxy
2+
3+
on:
4+
push:
5+
branches:
6+
- "foxy"
7+
pull_request:
8+
types: [opened, synchronize, labeled]
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
if: |
14+
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING')) ||
15+
((github.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
16+
container:
17+
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
18+
timeout-minutes: 20
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: [ubuntu-20.04]
23+
ros_distribution: [foxy]
24+
steps:
25+
- name: Install OpenVINO
26+
run: |
27+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
28+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
29+
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
30+
sudo apt-get update
31+
sudo apt install openvino-2024.3.0
32+
- uses: actions/checkout@v3
33+
- uses: ros-tooling/[email protected]
34+
- name: Build and Test
35+
uses: ros-tooling/[email protected]
36+
with:
37+
target-ros2-distro: ${{ matrix.ros_distribution }}
38+
skip-tests: true
39+
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"

.github/workflows/ci_humble.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: ci_humble
2+
3+
on:
4+
push:
5+
branches:
6+
- "humble"
7+
pull_request:
8+
types: [opened, synchronize, labeled]
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
if: |
14+
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING')) ||
15+
((github.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
16+
container:
17+
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
18+
timeout-minutes: 20
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: [ubuntu-22.04]
23+
ros_distribution: [humble]
24+
steps:
25+
- name: Install OpenVINO
26+
run: |
27+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
28+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
29+
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu22 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
30+
sudo apt-get update
31+
sudo apt install openvino-2024.3.0
32+
- uses: actions/checkout@v3
33+
- uses: ros-tooling/[email protected]
34+
- name: Build and Test
35+
uses: ros-tooling/[email protected]
36+
with:
37+
target-ros2-distro: ${{ matrix.ros_distribution }}
38+
skip-tests: true
39+
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"

.github/workflows/ci_jazzy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: ci_jazzy
2+
3+
on:
4+
push:
5+
branches:
6+
- "jazzy"
7+
pull_request:
8+
types: [opened, synchronize, labeled]
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
if: |
14+
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING')) ||
15+
((github.event.action == 'synchronize') && contains(github.event.pull_request.labels.*.name, 'TESTING'))
16+
container:
17+
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
18+
timeout-minutes: 20
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: [ubuntu-24.04]
23+
ros_distribution: [jazzy]
24+
steps:
25+
- name: Install OpenVINO
26+
run: |
27+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
28+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
29+
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu24 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
30+
sudo apt-get update
31+
sudo apt install openvino-2024.3.0
32+
- uses: actions/checkout@v3
33+
- uses: ros-tooling/[email protected]
34+
- name: Build and Test
35+
uses: ros-tooling/[email protected]
36+
with:
37+
target-ros2-distro: ${{ matrix.ros_distribution }}
38+
skip-tests: true
39+
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"

0 commit comments

Comments
 (0)