Skip to content

Commit

Permalink
Add package.xml
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Mar 18, 2024
1 parent b252bd0 commit 3db6f2c
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/package_xml.yml
Original file line number Diff line number Diff line change
@@ -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*<version>([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 ]
52 changes: 52 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>gz-gui8</name>
<version>8.1.0</version>
<description>Gazebo GUI : Graphical interfaces for robotics applications</description>
<maintainer email="[email protected]">Jenn Nguyen</maintainer>
<license>Apache License 2.0</license>
<url type="website">https://github.com/gazebosim/gz-rendering</url>

<buildtool_depend>cmake</buildtool_depend>

<build_depend>gz-cmake3</build_depend>

<depend>gz-common5</depend>
<depend>gz-math7</depend>
<depend>gz-msgs10</depend>
<depend>gz-plugin2</depend>
<depend>gz-rendering8</depend>
<depend>gz-tools2</depend>
<depend>gz-transport13</depend>
<depend>gz-utils2</depend>
<depend>libqt5-core</depend>
<depend>libqt5-qml</depend>
<depend>libqt5-quick</depend>
<depend>libqt5-widgets</depend>
<depend>protobuf-dev</depend>
<depend>qml-module-qt-labs-folderlistmodel</depend>
<depend>qml-module-qt-labs-platform</depend>
<depend>qml-module-qt-labs-settings</depend>
<depend>qml-module-qtcharts</depend>
<depend>qml-module-qtgraphicaleffects</depend>
<depend>qml-module-qtlocation</depend>
<depend>qml-module-qtpositioning</depend>
<depend>qml-module-qtquick-controls2</depend>
<depend>qml-module-qtquick-controls</depend>
<depend>qml-module-qtquick-dialogs</depend>
<depend>qml-module-qtquick-extras</depend>
<depend>qml-module-qtquick-layouts</depend>
<depend>qml-module-qtquick-templates2</depend>
<depend>qml-module-qtquick-window2</depend>
<depend>qml-module-qtquick2</depend>
<depend>qtbase5-dev</depend>
<depend>qtdeclarative5-dev</depend>
<depend>tinyxml2</depend>

<test_depend>xvfb</test_depend>

<export>
<build_type>cmake</build_type>
</export>
</package>

0 comments on commit 3db6f2c

Please sign in to comment.