Skip to content

Commit

Permalink
gh: adds workflow combinations for render backend
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPL1 committed Nov 25, 2024
1 parent 435fd52 commit 55f5ddd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
fail-fast: false
matrix:
distro: [noetic, one]
render_backend: [USE_GLFW, USE_OSMESA, USE_EGL]
mujoco: [3.2.0]
include:
- distro: noetic
Expand All @@ -32,6 +33,11 @@ jobs:
mujoco: 3.2.0
env:
CLANG_TIDY: pedantic
exclude:
- distro: noetic
render_backend: USE_GLFW
- distro: noetic
render_backend: USE_EGL

env:
BUILDER: colcon
Expand All @@ -55,6 +61,7 @@ jobs:
TARGET_CMAKE_ARGS: >
-DCMAKE_BUILD_TYPE=${{ matrix.env.CCOV && 'Debug' || 'Release'}}
-DCMAKE_CXX_FLAGS="-Werror $CXXFLAGS${{ matrix.env.CCOV && ' --coverage -O2 -fno-omit-frame-pointer'}}"
-D${{ matrix.render_backend }}=ON
UPSTREAM_CMAKE_ARGS: -DCMAKE_CXX_FLAGS= -DCMAKE_CXX_STANDARD=17

CCACHE_DIR: ${{ github.workspace }}/.ccache
Expand All @@ -69,7 +76,7 @@ jobs:
CATKIN_LINT: ${{ matrix.env.CATKIN_LINT || 'false' }}
CCOV: ${{ matrix.env.CCOV || 'false' }}

name: "${{ matrix.distro }} mj-${{ matrix.mujoco }}${{ 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)') || '' }}"
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
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 55f5ddd

Please sign in to comment.