-
-
Notifications
You must be signed in to change notification settings - Fork 58
43 lines (41 loc) · 1.43 KB
/
ci_jazzy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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: |
sudo apt-get update
sudo apt-get install -y wget
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 -y openvino-2024.3.0
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Build and Test
uses: ros-tooling/[email protected]
with:
target-ros2-distro: ${{ matrix.ros_distribution }}
skip-tests: false
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"