Skip to content

Commit 325dab2

Browse files
authored
Merge pull request #51 from Ar-Ray-code/feat/support_rolling
add ci_rolling.yml (Ubuntu24)
2 parents fbb99da + 4ee564d commit 325dab2

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci_rolling.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: ci_rolling
2+
3+
on:
4+
push:
5+
branches:
6+
- "rolling"
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: [rolling]
24+
steps:
25+
- name: Install OpenVINO
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y wget
29+
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
30+
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
31+
echo "deb https://apt.repos.intel.com/openvino/2024 ubuntu24 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2024.list
32+
sudo apt-get update
33+
sudo apt install -y openvino-2024.3.0
34+
- uses: actions/checkout@v4
35+
- uses: ros-tooling/[email protected]
36+
with:
37+
required-ros-distributions: ${{ matrix.ros_distribution }}
38+
- name: Build and Test
39+
uses: ros-tooling/[email protected]
40+
with:
41+
target-ros2-distro: ${{ matrix.ros_distribution }}
42+
skip-tests: true
43+
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True"

0 commit comments

Comments
 (0)