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

Merge 6 -> 7 #2477

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 0 additions & 9 deletions .github/ci/after_make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,3 @@ set -e
# Install (needed for some tests)
make install
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

# For gz-tools
export GZ_CONFIG_PATH=/usr/local/share/gz

# For rendering / window tests
Xvfb :1 -screen 0 1280x1024x24 &
export DISPLAY=:1.0
export RENDER_ENGINE_VALUES=ogre2
export MESA_GL_VERSION_OVERRIDE=3.3
9 changes: 9 additions & 0 deletions .github/ci/before_cmake.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh -l

set -x

# For rendering / window tests
Xvfb :1 -screen 0 1280x1024x24 &
export DISPLAY=:1.0
export RENDER_ENGINE_VALUES=ogre2
export MESA_GL_VERSION_OVERRIDE=3.3
2 changes: 2 additions & 0 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ qtdeclarative5-dev
qtquickcontrols2-5-dev
uuid-dev
xvfb
x11-utils
mesa-utils
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
codecov-enabled: true
cppcheck-enabled: true
cpplint-enabled: true
cmake-args: "-DCMAKE_INSTALL_PREFIX=/usr"
jammy-ci:
runs-on: ubuntu-latest
name: Ubuntu Jammy CI
Expand All @@ -45,4 +46,4 @@ jobs:
uses: gazebo-tooling/action-gz-ci@jammy
with:
# per bug https://github.com/gazebosim/gz-sim/issues/1409
cmake-args: '-DBUILD_DOCS=OFF'
cmake-args: '-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF'
30 changes: 30 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3403,6 +3403,36 @@

## Gazebo Sim 3.x

### Gazebo Sim 3.15.1 (2024-01-05)

1. Update github action workflows
* [Pull request #2237](https://github.com/gazebosim/gz-sim/pull/2237)
* [Pull request #1988](https://github.com/gazebosim/gz-sim/pull/1988)

1. Fix macOS test failures by registering components in the core library
* [Pull request #2220](https://github.com/gazebosim/gz-sim/pull/2220)

1. Bump Fuel model version in test
* [Pull request #2190](https://github.com/gazebosim/gz-sim/pull/2190)

1. Fix a minor issue in the documentation of the server API
* [Pull request #2067](https://github.com/gazebosim/gz-sim/pull/2067)

1. Use sdf::Element::FindElement instead of GetElement in ApplyLinkWrench
* [Pull request #2052](https://github.com/gazebosim/gz-sim/pull/2052)

1. Adds a warning if the `Server` method of a `TestFixture` is called before `Finalize`
* [Pull request #2047](https://github.com/gazebosim/gz-sim/pull/2047)

1. Protobuf: Do not require version 3 do support Protobuf 4.23.2 (23.2)
* [Pull request #2006](https://github.com/gazebosim/gz-sim/pull/2006)

1. Print an error message when trying to load SDF files that don't contain a `<world>`
* [Pull request #1998](https://github.com/gazebosim/gz-sim/pull/1998)

1. Enable GzWeb visualization of markers by republishing service requests on a topic
* [Pull request #1994](https://github.com/gazebosim/gz-sim/pull/1994)

### Gazebo Sim 3.15.0 (2023-05-08)

1. Speed up Resource Spawner load time by fetching model list asynchronously
Expand Down
9 changes: 9 additions & 0 deletions test/integration/camera_video_record_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ class CameraVideoRecorderTest : public InternalFixture<::testing::Test>
/////////////////////////////////////////////////
TEST_F(CameraVideoRecorderTest, GZ_UTILS_TEST_DISABLED_ON_MAC(RecordVideo))
{
// This test fails on Github Actions. Skip it for now.
// Note: The GITHUB_ACTIONS environment variable is automatically set when
// running on Github Actions.
std::string githubAction;
if (common::env("GITHUB_ACTIONS", githubAction))
{
GTEST_SKIP();
}

// Start server
ServerConfig serverConfig;
serverConfig.SetSdfFile(std::string(PROJECT_SOURCE_PATH) +
Expand Down
9 changes: 9 additions & 0 deletions test/integration/distortion_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ void imageCb(const msgs::Image &_msg)
TEST_F(DistortionCameraTest,
GZ_UTILS_TEST_DISABLED_ON_MAC(DistortionCameraBox))
{
// This test fails on Github Actions. Skip it for now.
// Note: The GITHUB_ACTIONS environment variable is automatically set when
// running on Github Actions.
std::string githubAction;
if (common::env("GITHUB_ACTIONS", githubAction))
{
GTEST_SKIP();
}

// Start server
ServerConfig serverConfig;
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
Expand Down
9 changes: 9 additions & 0 deletions test/integration/reset_sensors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ common::Image toImage(const msgs::Image &_msg)
/// are removed and then added back
TEST_F(ResetFixture, GZ_UTILS_TEST_DISABLED_ON_MAC(HandleReset))
{
// This test fails on Github Actions. Skip it for now.
// Note: The GITHUB_ACTIONS environment variable is automatically set when
// running on Github Actions.
std::string githubAction;
if (common::env("GITHUB_ACTIONS", githubAction))
{
GTEST_SKIP();
}

gz::sim::ServerConfig serverConfig;

const std::string sdfFile = common::joinPaths(PROJECT_SOURCE_PATH,
Expand Down
9 changes: 9 additions & 0 deletions test/integration/shader_param_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ void imageCb(const msgs::Image &_msg)
// custom material shaders
TEST_F(ShaderParamTest, GZ_UTILS_TEST_DISABLED_ON_MAC(ShaderParam))
{
// This test fails on Github Actions. Skip it for now.
// Note: The GITHUB_ACTIONS environment variable is automatically set when
// running on Github Actions.
std::string githubAction;
if (common::env("GITHUB_ACTIONS", githubAction))
{
GTEST_SKIP();
}

// Start server
ServerConfig serverConfig;
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
Expand Down
9 changes: 9 additions & 0 deletions test/integration/wide_angle_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ void imageCb(const msgs::Image &_msg)
// The test checks the Wide Angle Camera readings
TEST_F(WideAngleCameraTest, GZ_UTILS_TEST_DISABLED_ON_MAC(WideAngleCameraBox))
{
// This test fails on Github Actions. Skip it for now.
// Note: The GITHUB_ACTIONS environment variable is automatically set when
// running on Github Actions.
std::string githubAction;
if (common::env("GITHUB_ACTIONS", githubAction))
{
GTEST_SKIP();
}

// Start server
ServerConfig serverConfig;
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
Expand Down
Loading