Skip to content

Commit

Permalink
CI: Enable render backends EGL + GLFW
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Nov 29, 2024
1 parent 63ca74b commit ffc342f
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ jobs:
mujoco: 3.2.0
env:
CLANG_TIDY: pedantic
exclude:
- distro: one
render_backend: USE_EGL # requires GPU
- distro: one
render_backend: USE_GLFW # requires Xvfb
- distro: noetic
render_backend: USE_GLFW
- distro: noetic
render_backend: USE_EGL

env:
BUILDER: colcon
Expand All @@ -54,6 +45,8 @@ jobs:
CXXFLAGS: -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls
CLANG_TIDY_ARGS: --fix --fix-errors --format-style=file
UPSTREAM_WORKSPACE: .github/workflows/upstream.rosinstall
# Install and start xvfb for GLFW
BEFORE_SETUP_UPSTREAM_WORKSPACE: ${{ matrix.render_backend == 'USE_GLFW' && 'apt-get install -y xvfb; echo "DISPLAY=:99.0" >> "$GITHUB_ENV"; Xvfb :99 &' || '' }}
# 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
Expand Down Expand Up @@ -81,7 +74,7 @@ jobs:
CCOV: ${{ matrix.env.CCOV || 'false' }}

name: "${{ matrix.distro }} mj-${{ matrix.mujoco }} ${{ matrix.render_backend }} ${{ matrix.env.CATKIN_LINT && ' + catkin_lint' || ''}}${{ matrix.env.CCOV && ' + ccov' || ''}}${{ matrix.env.CLANG_TIDY && (github.event_name != 'workflow_dispatch' && ' + clang-tidy (delta)' || ' + clang-tidy (all)') || '' }}"
runs-on: ubuntu-20.04
runs-on: ${{ matrix.render_backend == 'USE_EGL' && matrix.distro || 'ubuntu-20.04' }}
steps:
- uses: actions/checkout@v4
- name: Cache upstream workspace
Expand Down

0 comments on commit ffc342f

Please sign in to comment.