Skip to content

Commit

Permalink
gh: debug egl runner
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPL1 committed Dec 5, 2024
1 parent 7fcd1a1 commit ff8cc08
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,26 @@ jobs:
mujoco: 3.2.0
env:
CLANG_TIDY: pedantic
exclude:
- distro: noetic
render_backend: GLFW
- distro: noetic
render_backend: OSMESA
- distro: noetic
render_backend: EGL
- distro: noetic
render_backend: DISABLE
- distro: one
render_backend: GLFW
- distro: one
render_backend: OSMESA
- distro: one
render_backend: DISABLE

env:
BUILDER: colcon
EGL_DEVICE_ID: 0
NVIDIA_DRIVER_CAPABILITIES: compute,graphics,utility,video
MUJOCO_DIR: /vol/mujoco/mujoco-${{ matrix.mujoco }} # for self-hosted runners
DOCKER_RUN_OPTS: -e MUJOCO_DIR=/root/mujoco/${{ matrix.mujoco }} -e DISPLAY=:99.0
DOCKER_IMAGE: ubiagni/mujoco_ros:${{ matrix.distro }}-ci
Expand All @@ -47,13 +64,13 @@ jobs:
CLANG_TIDY_ARGS: --fix --fix-errors --format-style=file
UPSTREAM_WORKSPACE: .github/workflows/upstream.rosinstall
# Install and start xvfb for GLFW
AFTER_INIT: ${{ matrix.render_backend == 'GLFW' && 'apt-get install -qy xvfb; Xvfb :99 &' || '' }}
AFTER_INIT: ${{ matrix.render_backend == 'GLFW' && 'apt-get install -qy xvfb; Xvfb :99 &' || matrix.render_backend == 'EGL' && 'nvidia-smi' || '' }}
# Pull any updates to the upstream workspace
AFTER_SETUP_UPSTREAM_WORKSPACE: vcs pull $BASEDIR/upstream_ws/src
AFTER_SETUP_DOWNSTREAM_WORKSPACE: vcs pull $BASEDIR/downstream_ws/src
# Clear ccache stats before and log the stats after the build
AFTER_SETUP_CCACHE: ccache --zero-stats --max-size=10.0G
AFTER_BUILD_TARGET_WORKSPACE: ccache --show-stats
AFTER_BUILD_TARGET_WORKSPACE: ccache --show-stats; nvidia-smi; ldd $BASEDIR/target_ws/install/mujoco_ros/lib/libmujoco_ros.so;
AFTER_BUILD_DOWNSTREAM_WORKSPACE: ccache --show-stats
# Compile CCOV with Debug. Enable -Werror.
TARGET_CMAKE_ARGS: >
Expand Down

0 comments on commit ff8cc08

Please sign in to comment.