From 87de181396c08c7f67ffa2062942fcac47c8cb40 Mon Sep 17 00:00:00 2001 From: Filip Parag Date: Thu, 2 Dec 2021 00:51:04 +0100 Subject: [PATCH] add webots --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22f9bacca..ca64b28ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,22 @@ jobs: ros2: name: Build and test ROS 2 packages runs-on: ubuntu-latest + env: + WEBOTS_VERSION: 2021b + WEBOTS_OFFSCREEN: 1 + CI: 1 + DEBIAN_FRONTEND: noninteractive + QTWEBENGINE_DISABLE_SANDBOX: 1 steps: - uses: actions/checkout@v2 - uses: ros-tooling/setup-ros@v0.2 with: required-ros-distributions: foxy + - id: webots + run: | + wget "https://github.com/cyberbotics/webots/releases/download/R$WEBOTS_VERSION/webots_${WEBOTS_VERSION}_amd64.deb" + sudo apt-get update + sudo apt-get install -y "./webots_${WEBOTS_VERSION}_amd64.deb" xvfb - uses: ros-tooling/action-ros-ci@v0.2 with: target-ros2-distro: foxy