support ubuntu24 (but there is not tested) #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci_iron | |
on: | |
push: | |
branches: | |
- "iron" | |
pull_request: | |
types: [opened, synchronize, labeled] | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
container: | |
image: osrf/ros:${{ matrix.ros_distribution }}-desktop | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
ros_distribution: [iron] | |
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 ubuntu22 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: true | |
extra-cmake-args: "-DYOLOX_USE_OPENVINO=True" |