Skip to content

Fix crash when setting Anisotropic property after Global Illumination disabled by adding validity checks for GI and enabled state #15744

Fix crash when setting Anisotropic property after Global Illumination disabled by adding validity checks for GI and enabled state

Fix crash when setting Anisotropic property after Global Illumination disabled by adding validity checks for GI and enabled state #15744

Workflow file for this run

name: Ubuntu CI
on:
pull_request:
push:
branches:
- 'ign-gazebo[0-9]'
- 'gz-sim[0-9]?'
- 'main'
# Every time you make a push to your PR, it cancel immediately the previous checks,
# and start a new one. The other runner will be available more quickly to your PR.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
noble-ci:
runs-on: ubuntu-latest
name: Ubuntu Noble CI
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
- name: Compile and test
id: ci
uses: gazebo-tooling/action-gz-ci@noble
with:
# per bug https://github.com/gazebosim/gz-sim/issues/1409
cmake-args: '-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo'
noble-ci-disable-gui:
runs-on: ubuntu-latest
name: Ubuntu Noble CI (GUI disabled)
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v3
- name: Compile and test
id: ci
uses: gazebo-tooling/action-gz-ci@noble
with:
# per bug https://github.com/gazebosim/gz-sim/issues/1409
cmake-args: '-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_GUI=OFF'
cppcheck-enabled: true
cpplint-enabled: true