check valid pointer (#2674) #14596
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'ign-gazebo[0-9]' | |
- 'gz-sim[0-9]?' | |
- 'main' | |
# 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: | |
focal-ci: | |
runs-on: ubuntu-latest | |
name: Ubuntu Focal 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@focal | |
with: | |
codecov-enabled: true | |
cppcheck-enabled: true | |
cpplint-enabled: true | |
cmake-args: "-DCMAKE_INSTALL_PREFIX=/usr" | |
jammy-ci: | |
runs-on: ubuntu-latest | |
name: Ubuntu Jammy 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@jammy | |
with: | |
# per bug https://github.com/gazebosim/gz-sim/issues/1409 | |
cmake-args: '-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF' |