tutorials/physics: Small fixes and Windows support #14492
Workflow file for this run
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' | |
# 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: | |
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' | |
codecov-enabled: true | |
cppcheck-enabled: true | |
cpplint-enabled: true | |
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' |