Skip to content

Commit f507ef2

Browse files
authored
Merge pull request gazebosim#2477 from gazebosim/merge_6_7_20240712
Merge 6 -> 7
2 parents 517a73a + 335e363 commit f507ef2

File tree

10 files changed

+88
-10
lines changed

10 files changed

+88
-10
lines changed

.github/ci/after_make.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,3 @@ set -e
66
# Install (needed for some tests)
77
make install
88
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
9-
10-
# For gz-tools
11-
export GZ_CONFIG_PATH=/usr/local/share/gz
12-
13-
# For rendering / window tests
14-
Xvfb :1 -screen 0 1280x1024x24 &
15-
export DISPLAY=:1.0
16-
export RENDER_ENGINE_VALUES=ogre2
17-
export MESA_GL_VERSION_OVERRIDE=3.3

.github/ci/before_cmake.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh -l
2+
3+
set -x
4+
5+
# For rendering / window tests
6+
Xvfb :1 -screen 0 1280x1024x24 &
7+
export DISPLAY=:1.0
8+
export RENDER_ENGINE_VALUES=ogre2
9+
export MESA_GL_VERSION_OVERRIDE=3.3

.github/ci/packages.apt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ qtdeclarative5-dev
4646
qtquickcontrols2-5-dev
4747
uuid-dev
4848
xvfb
49+
x11-utils
50+
mesa-utils

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
codecov-enabled: true
3131
cppcheck-enabled: true
3232
cpplint-enabled: true
33+
cmake-args: "-DCMAKE_INSTALL_PREFIX=/usr"
3334
jammy-ci:
3435
runs-on: ubuntu-latest
3536
name: Ubuntu Jammy CI
@@ -45,4 +46,4 @@ jobs:
4546
uses: gazebo-tooling/action-gz-ci@jammy
4647
with:
4748
# per bug https://github.com/gazebosim/gz-sim/issues/1409
48-
cmake-args: '-DBUILD_DOCS=OFF'
49+
cmake-args: '-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF'

Changelog.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,6 +3403,36 @@
34033403

34043404
## Gazebo Sim 3.x
34053405

3406+
### Gazebo Sim 3.15.1 (2024-01-05)
3407+
3408+
1. Update github action workflows
3409+
* [Pull request #2237](https://github.com/gazebosim/gz-sim/pull/2237)
3410+
* [Pull request #1988](https://github.com/gazebosim/gz-sim/pull/1988)
3411+
3412+
1. Fix macOS test failures by registering components in the core library
3413+
* [Pull request #2220](https://github.com/gazebosim/gz-sim/pull/2220)
3414+
3415+
1. Bump Fuel model version in test
3416+
* [Pull request #2190](https://github.com/gazebosim/gz-sim/pull/2190)
3417+
3418+
1. Fix a minor issue in the documentation of the server API
3419+
* [Pull request #2067](https://github.com/gazebosim/gz-sim/pull/2067)
3420+
3421+
1. Use sdf::Element::FindElement instead of GetElement in ApplyLinkWrench
3422+
* [Pull request #2052](https://github.com/gazebosim/gz-sim/pull/2052)
3423+
3424+
1. Adds a warning if the `Server` method of a `TestFixture` is called before `Finalize`
3425+
* [Pull request #2047](https://github.com/gazebosim/gz-sim/pull/2047)
3426+
3427+
1. Protobuf: Do not require version 3 do support Protobuf 4.23.2 (23.2)
3428+
* [Pull request #2006](https://github.com/gazebosim/gz-sim/pull/2006)
3429+
3430+
1. Print an error message when trying to load SDF files that don't contain a `<world>`
3431+
* [Pull request #1998](https://github.com/gazebosim/gz-sim/pull/1998)
3432+
3433+
1. Enable GzWeb visualization of markers by republishing service requests on a topic
3434+
* [Pull request #1994](https://github.com/gazebosim/gz-sim/pull/1994)
3435+
34063436
### Gazebo Sim 3.15.0 (2023-05-08)
34073437

34083438
1. Speed up Resource Spawner load time by fetching model list asynchronously

test/integration/camera_video_record_system.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ class CameraVideoRecorderTest : public InternalFixture<::testing::Test>
4343
/////////////////////////////////////////////////
4444
TEST_F(CameraVideoRecorderTest, GZ_UTILS_TEST_DISABLED_ON_MAC(RecordVideo))
4545
{
46+
// This test fails on Github Actions. Skip it for now.
47+
// Note: The GITHUB_ACTIONS environment variable is automatically set when
48+
// running on Github Actions.
49+
std::string githubAction;
50+
if (common::env("GITHUB_ACTIONS", githubAction))
51+
{
52+
GTEST_SKIP();
53+
}
54+
4655
// Start server
4756
ServerConfig serverConfig;
4857
serverConfig.SetSdfFile(std::string(PROJECT_SOURCE_PATH) +

test/integration/distortion_camera.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ void imageCb(const msgs::Image &_msg)
6969
TEST_F(DistortionCameraTest,
7070
GZ_UTILS_TEST_DISABLED_ON_MAC(DistortionCameraBox))
7171
{
72+
// This test fails on Github Actions. Skip it for now.
73+
// Note: The GITHUB_ACTIONS environment variable is automatically set when
74+
// running on Github Actions.
75+
std::string githubAction;
76+
if (common::env("GITHUB_ACTIONS", githubAction))
77+
{
78+
GTEST_SKIP();
79+
}
80+
7281
// Start server
7382
ServerConfig serverConfig;
7483
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),

test/integration/reset_sensors.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ common::Image toImage(const msgs::Image &_msg)
140140
/// are removed and then added back
141141
TEST_F(ResetFixture, GZ_UTILS_TEST_DISABLED_ON_MAC(HandleReset))
142142
{
143+
// This test fails on Github Actions. Skip it for now.
144+
// Note: The GITHUB_ACTIONS environment variable is automatically set when
145+
// running on Github Actions.
146+
std::string githubAction;
147+
if (common::env("GITHUB_ACTIONS", githubAction))
148+
{
149+
GTEST_SKIP();
150+
}
151+
143152
gz::sim::ServerConfig serverConfig;
144153

145154
const std::string sdfFile = common::joinPaths(PROJECT_SOURCE_PATH,

test/integration/shader_param_system.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ void imageCb(const msgs::Image &_msg)
6262
// custom material shaders
6363
TEST_F(ShaderParamTest, GZ_UTILS_TEST_DISABLED_ON_MAC(ShaderParam))
6464
{
65+
// This test fails on Github Actions. Skip it for now.
66+
// Note: The GITHUB_ACTIONS environment variable is automatically set when
67+
// running on Github Actions.
68+
std::string githubAction;
69+
if (common::env("GITHUB_ACTIONS", githubAction))
70+
{
71+
GTEST_SKIP();
72+
}
73+
6574
// Start server
6675
ServerConfig serverConfig;
6776
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),

test/integration/wide_angle_camera.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ void imageCb(const msgs::Image &_msg)
6363
// The test checks the Wide Angle Camera readings
6464
TEST_F(WideAngleCameraTest, GZ_UTILS_TEST_DISABLED_ON_MAC(WideAngleCameraBox))
6565
{
66+
// This test fails on Github Actions. Skip it for now.
67+
// Note: The GITHUB_ACTIONS environment variable is automatically set when
68+
// running on Github Actions.
69+
std::string githubAction;
70+
if (common::env("GITHUB_ACTIONS", githubAction))
71+
{
72+
GTEST_SKIP();
73+
}
74+
6675
// Start server
6776
ServerConfig serverConfig;
6877
const auto sdfFile = common::joinPaths(std::string(PROJECT_SOURCE_PATH),

0 commit comments

Comments
 (0)