From cbb257b19e3ca2f597eaaffc8c5898d9f1d78427 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Mon, 18 Mar 2024 17:50:39 -0500 Subject: [PATCH 1/3] Add package.xml Signed-off-by: Addisu Z. Taddese --- .github/workflows/package_xml.yml | 20 +++++++++++ package.xml | 55 +++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 .github/workflows/package_xml.yml create mode 100644 package.xml diff --git a/.github/workflows/package_xml.yml b/.github/workflows/package_xml.yml new file mode 100644 index 0000000000..5b5c6d8856 --- /dev/null +++ b/.github/workflows/package_xml.yml @@ -0,0 +1,20 @@ +name: Validate package.xml + +on: + pull_request: + +jobs: + package-xml: + runs-on: ubuntu-latest + name: package.xml and CMake versions match + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Check versions + run: | + echo "Extract version numbers and compare" + package_xml_version=$(sed -nE 's/\s*([0-9.]*)<\/version>\s*/\1/p' package.xml) + echo "Version in package.xml: ${package_xml_version}" + cmake_version=$(sed -nE 's/^project.*VERSION\s*([0-9.]*).*/\1/p' CMakeLists.txt) + echo "Version in CMake: ${cmake_version}" + [ $package_xml_version = $cmake_version ] diff --git a/package.xml b/package.xml new file mode 100644 index 0000000000..dd92b566c2 --- /dev/null +++ b/package.xml @@ -0,0 +1,55 @@ + + + + gz-sim + 8.2.0 + Gazebo Sim : A Robotic Simulator + Michael Carroll + Apache License 2.0 + https://github.com/gazebosim/gz-sim + + cmake + + benchmark + glut + gz-cmake3 + gz-common5 + gz-fuel-tools9 + gz-gui8 + gz-math7 + gz-msgs10 + gz-physics7 + gz-plugin2 + gz-rendering8 + gz-sensors8 + gz-tools2 + gz-transport13 + gz-utils2 + libfreeimage-dev + libglew-dev + libxi-dev + libxmu-dev + protobuf-dev + pybind11-dev + python3-distutils + qml-module-qt-labs-folderlistmodel + qml-module-qt-labs-settings + qml-module-qtgraphicaleffects + qml-module-qtquick-controls2 + qml-module-qtquick-controls + qml-module-qtquick-dialogs + qml-module-qtquick-layouts + qml-module-qtquick2 + qtbase5-dev + qtdeclarative5-dev + sdformat14 + tinyxml2 + uuid + + xvfb + python3-pytest + + + cmake + + From 1b3977df3bc3b13f8b71fb6ce9efef661929cb89 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Mon, 18 Mar 2024 17:54:26 -0500 Subject: [PATCH 2/3] Fix package name to include version number Signed-off-by: Addisu Z. Taddese --- package.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.xml b/package.xml index dd92b566c2..de4a83c16c 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ - gz-sim + gz-sim8 8.2.0 Gazebo Sim : A Robotic Simulator Michael Carroll From 09cfb440ae77b500de185347c7233f34c6ff430d Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Thu, 11 Apr 2024 12:53:45 -0500 Subject: [PATCH 3/3] Update version Signed-off-by: Addisu Z. Taddese --- .github/workflows/package_xml.yml | 13 ++----------- package.xml | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/package_xml.yml b/.github/workflows/package_xml.yml index 5b5c6d8856..4bd4a9aa0b 100644 --- a/.github/workflows/package_xml.yml +++ b/.github/workflows/package_xml.yml @@ -6,15 +6,6 @@ on: jobs: package-xml: runs-on: ubuntu-latest - name: package.xml and CMake versions match + name: Validate package.xml steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Check versions - run: | - echo "Extract version numbers and compare" - package_xml_version=$(sed -nE 's/\s*([0-9.]*)<\/version>\s*/\1/p' package.xml) - echo "Version in package.xml: ${package_xml_version}" - cmake_version=$(sed -nE 's/^project.*VERSION\s*([0-9.]*).*/\1/p' CMakeLists.txt) - echo "Version in CMake: ${cmake_version}" - [ $package_xml_version = $cmake_version ] + - uses: gazebo-tooling/action-gz-ci/validate_package_xml@jammy diff --git a/package.xml b/package.xml index de4a83c16c..4c4ef248d4 100644 --- a/package.xml +++ b/package.xml @@ -2,7 +2,7 @@ gz-sim8 - 8.2.0 + 8.3.0 Gazebo Sim : A Robotic Simulator Michael Carroll Apache License 2.0