File tree 6 files changed +15
-20
lines changed
6 files changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ libeigen3-dev
2
2
libgz-cmake4-dev
3
3
libgz-utils3-dev
4
4
libpython3-dev
5
- python3-distutils
6
5
python3-pybind11
7
6
python3-pytest
8
7
ruby-dev
Original file line number Diff line number Diff line change 17
17
cppcheck-enabled : true
18
18
cpplint-enabled : true
19
19
doxygen-enabled : true
20
+ noble-ci :
21
+ runs-on : ubuntu-latest
22
+ name : Ubuntu Noble CI
23
+ steps :
24
+ - name : Checkout
25
+ uses : actions/checkout@v3
26
+ - name : Compile and test
27
+ id : ci
28
+ uses : gazebo-tooling/action-gz-ci@noble
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.10.2 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.22.1 FATAL_ERROR)
2
2
3
3
#============================================================================
4
4
# Initialize the project
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.22.1 FATAL_ERROR)
2
2
3
3
project (gz-math-examples)
4
4
Original file line number Diff line number Diff line change @@ -73,18 +73,9 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
73
73
endif ()
74
74
75
75
if (USE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION)
76
- if (${CMAKE_VERSION} VERSION_LESS "3.12.0" )
77
- execute_process (
78
- COMMAND "${PYTHON_EXECUTABLE} " -c "if True:
79
- from distutils import sysconfig as sc
80
- print(sc.get_python_lib(plat_specific=True))"
81
- OUTPUT_VARIABLE Python3_SITEARCH
82
- OUTPUT_STRIP_TRAILING_WHITESPACE)
83
- else ()
84
- # Get install variable from Python3 module
85
- # Python3_SITEARCH is available from 3.12 on, workaround if needed:
86
- find_package (Python3 COMPONENTS Interpreter)
87
- endif ()
76
+ # Get install variable from Python3 module
77
+ # Python3_SITEARCH is available from 3.12 on, workaround if needed:
78
+ find_package (Python3 COMPONENTS Interpreter)
88
79
89
80
if (USE_DIST_PACKAGES_FOR_PYTHON)
90
81
string (REPLACE "site-packages" "dist-packages" GZ_PYTHON_INSTALL_PATH ${Python3_SITEARCH} )
Original file line number Diff line number Diff line change @@ -44,11 +44,7 @@ if (RUBY_FOUND)
44
44
45
45
# Create the ruby library
46
46
set (CMAKE_SWIG_OUTDIR "${CMAKE_BINARY_DIR} /lib/ruby" )
47
- if (CMAKE_VERSION VERSION_GREATER 3.8.0)
48
- SWIG_ADD_LIBRARY(${SWIG_RB_LIB} LANGUAGE ruby SOURCES ruby.i ${swig_i_files} )
49
- else ()
50
- SWIG_ADD_MODULE(${SWIG_RB_LIB} ruby ruby.i ${swig_i_files} )
51
- endif ()
47
+ SWIG_ADD_LIBRARY(${SWIG_RB_LIB} LANGUAGE ruby SOURCES ruby.i ${swig_i_files} )
52
48
53
49
# Suppress warnings on SWIG-generated files
54
50
target_compile_options (${SWIG_RB_LIB} PRIVATE
You can’t perform that action at this time.
0 commit comments