Skip to content

Commit 72a82eb

Browse files
authored
Bump gz-cmake and others in jetty (#1131)
Bumping gz-cmake and others except gz-tools. * Disable Jammy CI * windows.yaml: install cli11 * Fix windows workflow configuration Rename the PACKAGE variable to PACKAGE_WITH_VERSION and compute PACKAGE by removing digits. Signed-off-by: Steve Peters <[email protected]>
1 parent c049ab5 commit 72a82eb

File tree

44 files changed

+90
-105
lines changed

Some content is hidden

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

44 files changed

+90
-105
lines changed

.github/ci/packages.apt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
freeglut3-dev
22
libfreeimage-dev
33
libglew-dev
4-
libgz-cmake4-dev
5-
libgz-common6-dev
6-
libgz-math8-dev
7-
libgz-math8-eigen3-dev
8-
libgz-plugin3-dev
9-
libgz-utils3-dev
4+
libgz-cmake5-dev
5+
libgz-common7-dev
6+
libgz-math9-dev
7+
libgz-math9-eigen3-dev
8+
libgz-plugin4-dev
9+
libgz-utils4-dev
1010
libogre-1.9-dev
1111
libxi-dev
1212
libxmu-dev

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ on:
99
- 'main'
1010

1111
jobs:
12-
jammy-ci:
13-
runs-on: ubuntu-latest
14-
name: Ubuntu Jammy CI
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v4
18-
- name: Compile and test
19-
id: ci
20-
uses: gazebo-tooling/action-gz-ci@jammy
21-
with:
22-
codecov-enabled: true
23-
doxygen-enabled: true
2412
noble-ci:
2513
runs-on: ubuntu-latest
2614
name: Ubuntu Noble CI
@@ -31,5 +19,7 @@ jobs:
3119
id: ci
3220
uses: gazebo-tooling/action-gz-ci@noble
3321
with:
22+
# codecov-enabled: true
3423
cppcheck-enabled: true
3524
cpplint-enabled: true
25+
# doxygen-enabled: true

.github/workflows/windows.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
name: Window CI
88
env:
9-
PACKAGE: gz-rendering10
9+
PACKAGE_WITH_VERSION: gz-rendering10
1010
runs-on: windows-latest
1111
steps:
1212
- name: setup-pixi
@@ -26,12 +26,16 @@ jobs:
2626
- name: Install base dependencies
2727
run: |
2828
# List adapted from https://github.com/gazebo-tooling/release-tools/blob/f89ac8cafc646260598eb8eb6d94be8093bdc9f7/jenkins-scripts/lib/windows_env_vars.bat#L22
29-
pixi add assimp dlfcn-win32 eigen ffmpeg freeimage gdal gflags ogre ogre-next spdlog tinyxml2
29+
pixi add assimp cli11 dlfcn-win32 eigen ffmpeg freeimage gdal gflags ogre ogre-next spdlog tinyxml2
3030
- name: Clone source dependencies
3131
run: |
3232
mkdir src
3333
cd src
34-
pixi run vcs import --input https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/${env:PACKAGE}.yaml
34+
pixi run vcs import --input https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/${env:PACKAGE_WITH_VERSION}.yaml
35+
36+
- name: Set PACKAGE variable without version
37+
shell: bash
38+
run: echo "PACKAGE=${PACKAGE_WITH_VERSION//[[:digit:]]/}" >> $GITHUB_ENV
3539

3640
- uses: actions/checkout@v4
3741
with:

CMakeLists.txt

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
33
#============================================================================
44
# Initialize the project
55
#============================================================================
6-
project(gz-rendering10 VERSION 10.0.0)
6+
project(gz-rendering VERSION 10.0.0)
77

88
#============================================================================
99
# Find gz-cmake
1010
#============================================================================
1111
# If you get an error at this line, you need to install gz-cmake
12-
find_package(gz-cmake4 REQUIRED)
13-
set(GZ_CMAKE_VER ${gz-cmake4_VERSION_MAJOR})
12+
find_package(gz-cmake REQUIRED)
1413

1514
#============================================================================
1615
# Set up the project
@@ -31,24 +30,20 @@ option(USE_UNOFFICIAL_OGRE_VERSIONS "Accept unsupported Ogre versions in the bui
3130

3231
#--------------------------------------
3332
# Find gz-math
34-
gz_find_package(gz-math8 REQUIRED COMPONENTS eigen3)
35-
set(GZ_MATH_VER ${gz-math8_VERSION_MAJOR})
33+
gz_find_package(gz-math REQUIRED COMPONENTS eigen3)
3634

3735
#--------------------------------------
3836
# Find gz-common
39-
gz_find_package(gz-common6 REQUIRED
37+
gz_find_package(gz-common REQUIRED
4038
COMPONENTS graphics events geospatial)
41-
set(GZ_COMMON_VER ${gz-common6_VERSION_MAJOR})
4239

4340
#--------------------------------------
4441
# Find gz-plugin
45-
gz_find_package(gz-plugin3 REQUIRED COMPONENTS all)
46-
set(GZ_PLUGIN_VER ${gz-plugin3_VERSION_MAJOR})
42+
gz_find_package(gz-plugin REQUIRED COMPONENTS all)
4743

4844
#--------------------------------------
4945
# Find gz-utils
50-
gz_find_package(gz-utils3 REQUIRED)
51-
set(GZ_UTILS_VER ${gz-utils3_VERSION_MAJOR})
46+
gz_find_package(gz-utils REQUIRED)
5247

5348
#--------------------------------------
5449
# Find OpenGL

doc/ogre_1-9.tag.xml.tgz

1 Byte
Binary file not shown.

examples/actor_animation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
22
project(gz-rendering-actor-animation)
3-
find_package(gz-rendering10 REQUIRED)
3+
find_package(gz-rendering REQUIRED)
44

55
include_directories(SYSTEM
66
${PROJECT_BINARY_DIR}

examples/boundingbox_camera/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
22
project(gz-rendering-boundingbox-camera)
3-
find_package(gz-rendering10 REQUIRED)
3+
find_package(gz-rendering REQUIRED)
44

55
include_directories(SYSTEM
66
${PROJECT_BINARY_DIR}

examples/camera_tracking/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
22
project(gz-rendering-camera-tracking)
3-
find_package(gz-rendering10 REQUIRED)
3+
find_package(gz-rendering REQUIRED)
44

55
find_package(GLUT REQUIRED)
66
include_directories(SYSTEM ${GLUT_INCLUDE_DIRS})

examples/custom_scene_viewer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
22
project(gz-rendering-custom-scene-viewer)
3-
find_package(gz-rendering10 REQUIRED)
3+
find_package(gz-rendering REQUIRED)
44

55
include_directories(SYSTEM
66
${PROJECT_BINARY_DIR}

examples/custom_shaders/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include_directories(SYSTEM
55
${PROJECT_BINARY_DIR}
66
)
77

8-
find_package(gz-rendering10 REQUIRED)
8+
find_package(gz-rendering REQUIRED)
99

1010
find_package(GLUT REQUIRED)
1111
include_directories(SYSTEM ${GLUT_INCLUDE_DIRS})

0 commit comments

Comments
 (0)