-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (35 loc) · 1.12 KB
/
ci.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
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
env:
WEBOTS_VERSION: 2022a
WEBOTS_OFFSCREEN: 1
CI: 1
DEBIAN_FRONTEND: noninteractive
QTWEBENGINE_DISABLE_SANDBOX: 1
jobs:
ros2:
name: Build and test ROS 2 packages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
lfs: false
- name: Install ROS2
uses: ros-tooling/[email protected]
with:
use-ros2-testing: true
required-ros-distributions: humble
- name: Install Custom Dependencies
run: |
# Webots (temporary disabled)
# sudo -E apt-get update
# sudo -E apt-get install -y wget dialog apt-utils psmisc
# wget "https://github.com/cyberbotics/webots/releases/download/R$WEBOTS_VERSION/webots_${WEBOTS_VERSION}_amd64.deb"
# sudo -E apt-get install -y "./webots_${WEBOTS_VERSION}_amd64.deb" xvfb
- name: Build packages and run and tests
uses: ros-tooling/[email protected]
with:
target-ros2-distro: humble