Skip to content

Commit 66036ec

Browse files
authored
Merge branch 'main' into arjo/feat/remove_systems_with_entities
2 parents 158d6ee + 3487086 commit 66036ec

File tree

205 files changed

+106893
-1050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+106893
-1050
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ labels: bug
55
---
66

77
<!-- If you're not sure whether your problem is a bug, please ask a question at
8-
http://answers.gazebosim.org instead.-->
8+
https://robotics.stackexchange.com instead.-->
99

1010
## Environment
1111
* OS Version: <!-- e.g, Ubuntu 20.04 -->

.github/ISSUE_TEMPLATE/feature_request.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ labels: enhancement
66

77
<!-- If you're not sure on the specifics of the feature or would like a broader
88
discussion, please consider posting a proposal to
9-
http://community.gazebosim.org/ instead.-->
9+
https://robotics.stackexchange.com instead.-->
1010

1111
## Desired behavior
1212
<!-- Describe the current problem and the feature you want implemented.-->

.github/ci/packages.apt

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ libtinyxml2-dev
2424
libxi-dev
2525
libxmu-dev
2626
libpython3-dev
27-
python3-distutils
2827
python3-gz-math8
2928
python3-gz-msgs11
3029
python3-gz-transport14

.github/workflows/ci.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
push:
66
branches:
7+
- 'ign-gazebo[0-9]'
8+
- 'gz-sim[0-9]?'
79
- 'main'
810

911
# Every time you make a push to your PR, it cancel immediately the previous checks,
@@ -18,7 +20,7 @@ jobs:
1820
name: Ubuntu Jammy CI
1921
steps:
2022
- name: Checkout
21-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2224
- uses: actions/setup-python@v3
2325
- uses: pre-commit/action@v3.0.0
2426
with:
@@ -32,3 +34,19 @@ jobs:
3234
codecov-enabled: true
3335
cppcheck-enabled: true
3436
cpplint-enabled: true
37+
noble-ci:
38+
runs-on: ubuntu-latest
39+
name: Ubuntu Noble CI
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v4
43+
- uses: actions/setup-python@v3
44+
- uses: pre-commit/action@v3.0.0
45+
with:
46+
extra_args: --all-files
47+
- name: Compile and test
48+
id: ci
49+
uses: gazebo-tooling/action-gz-ci@noble
50+
with:
51+
# per bug https://github.com/gazebosim/gz-sim/issues/1409
52+
cmake-args: '-DBUILD_DOCS=OFF'

.github/workflows/package_xml.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Validate package.xml
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
package-xml:
8+
runs-on: ubuntu-latest
9+
name: Validate package.xml
10+
steps:
11+
- uses: gazebo-tooling/action-gz-ci/validate_package_xml@jammy

CMakeLists.txt

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
22

33
#============================================================================
44
# Initialize the project
@@ -66,7 +66,7 @@ cmake_dependent_option(USE_DIST_PACKAGES_FOR_PYTHON
6666
#============================================================================
6767

6868
# Setting this policy enables using the protobuf_MODULE_COMPATIBLE
69-
# set command in CMake versions older than 13.13
69+
# set command when cmake_minimum_required is less than 3.13
7070
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
7171
# This option is needed to use the PROTOBUF_GENERATE_CPP
7272
# in case protobuf is found with the CMake config files
@@ -225,11 +225,17 @@ else()
225225
endif()
226226
endif()
227227
# Plugin install dirs
228+
set(GZ_SIM_PLUGIN_RELATIVE_INSTALL_DIR
229+
${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/plugins
230+
)
228231
set(GZ_SIM_PLUGIN_INSTALL_DIR
229-
${CMAKE_INSTALL_PREFIX}/${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/plugins
232+
${CMAKE_INSTALL_PREFIX}/${GZ_SIM_PLUGIN_RELATIVE_INSTALL_DIR}
233+
)
234+
set(GZ_SIM_GUI_PLUGIN_RELATIVE_INSTALL_DIR
235+
${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/plugins/gui
230236
)
231237
set(GZ_SIM_GUI_PLUGIN_INSTALL_DIR
232-
${CMAKE_INSTALL_PREFIX}/${GZ_LIB_INSTALL_DIR}/gz-${GZ_DESIGNATION}-${PROJECT_VERSION_MAJOR}/plugins/gui
238+
${CMAKE_INSTALL_PREFIX}/${GZ_SIM_GUI_PLUGIN_RELATIVE_INSTALL_DIR}
233239
)
234240

235241
#============================================================================
@@ -244,7 +250,7 @@ add_subdirectory(examples)
244250
#============================================================================
245251
gz_create_packages()
246252

247-
if (pybind11_FOUND)
253+
if (pybind11_FOUND AND NOT SKIP_PYBIND11)
248254
add_subdirectory(python)
249255
endif()
250256
#============================================================================

0 commit comments

Comments
 (0)