Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package.xml #981

Merged
merged 6 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ]
34 changes: 34 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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-rendering8</name>
<version>8.1.0</version>
<description>Gazebo Rendering: Rendering library for robot applications</description>
<maintainer email="[email protected]">Ian Chen</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-cmake</build_depend>

<depend>glut</depend>
<depend>gz-common5</depend>
<depend>gz-math7</depend>
<depend>gz-plugin2</depend>
<depend>gz-utils2</depend>
<depend>libfreeimage-dev</depend>
<depend>libglew-dev</depend>
<depend>libogre-dev</depend>
<depend>libogre-next-2.3-dev</depend>
<depend>libvulkan-dev</depend>
<depend>libxi-dev</depend>
<depend>libxmu-dev</depend>
<depend>uuid</depend>

<test_depend>xvfb</test_depend>

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