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

ignition-gazebo*: test ign gazebo -s #1221

Merged
merged 2 commits into from
Dec 8, 2020
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
10 changes: 8 additions & 2 deletions Formula/ignition-gazebo2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ class IgnitionGazebo2 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-gazebo/releases/ignition-gazebo2-2.25.0.tar.bz2"
sha256 "7d05c1586ef53d67cbf6562f5c7d1bf4480280f5ecb172d235101c40942ee1f9"
license "Apache-2.0"
revision 1
revision 2

head "https://github.com/ignitionrobotics/ign-gazebo", branch: "ign-gazebo2"

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 "f9f5c6f0e9005949e2453f9251e597fd53dba32f71443935621595f40db4c104" => :mojave
sha256 "0be73f21beab891fd7ef73d85df055cfe5026f79ce18c38927ced1e84e8998f3" => :mojave
end

depends_on "cmake" => :build
Expand All @@ -26,9 +26,11 @@ class IgnitionGazebo2 < Formula
depends_on "ignition-plugin1"
depends_on "ignition-rendering2"
depends_on "ignition-sensors2"
depends_on "ignition-tools"
depends_on "ignition-transport7"
depends_on macos: :mojave # c++17
depends_on "pkg-config"
depends_on "ruby"
depends_on "sdformat8"

def install
Expand All @@ -44,6 +46,10 @@ def install
end

test do
ENV["IGN_CONFIG_PATH"] = "#{opt_share}/ignition"
system Formula["ruby"].opt_bin/"ruby",
Formula["ignition-tools"].opt_bin/"ign",
"gazebo", "-s", "--iterations", "5", "-r", "-v", "4"
(testpath/"test.cpp").write <<-EOS
#include <cstdint>
#include <ignition/gazebo/Entity.hh>
Expand Down
10 changes: 8 additions & 2 deletions Formula/ignition-gazebo3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ class IgnitionGazebo3 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-gazebo/releases/ignition-gazebo3-3.5.0.tar.bz2"
sha256 "3ed0cc0f0c3c03e6de4b54c450ad1df52be5897443d82ed4ac0ca89387252352"
license "Apache-2.0"
revision 1
revision 2

head "https://github.com/ignitionrobotics/ign-gazebo", branch: "ign-gazebo3"

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 "86f41df4d432078c1c01df70b3c9b9f389b62ca88d8822fc9e815e869d9326f4" => :mojave
sha256 "7ece6aba59fd7f6f5ef71eee1f08f017c464de535e3fe3015e3a7fdb51ae2fbd" => :mojave
end

depends_on "cmake" => :build
Expand All @@ -26,9 +26,11 @@ class IgnitionGazebo3 < Formula
depends_on "ignition-plugin1"
depends_on "ignition-rendering3"
depends_on "ignition-sensors3"
depends_on "ignition-tools"
depends_on "ignition-transport8"
depends_on macos: :mojave # c++17
depends_on "pkg-config"
depends_on "ruby"
depends_on "sdformat9"

def install
Expand All @@ -44,6 +46,10 @@ def install
end

test do
ENV["IGN_CONFIG_PATH"] = "#{opt_share}/ignition"
system Formula["ruby"].opt_bin/"ruby",
Formula["ignition-tools"].opt_bin/"ign",
"gazebo", "-s", "--iterations", "5", "-r", "-v", "4"
(testpath/"test.cpp").write <<-EOS
#include <cstdint>
#include <ignition/gazebo/Entity.hh>
Expand Down
10 changes: 8 additions & 2 deletions Formula/ignition-gazebo4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ class IgnitionGazebo4 < Formula
url "https://osrf-distributions.s3.amazonaws.com/ign-gazebo/releases/ignition-gazebo4-4.0.0.tar.bz2"
sha256 "58b4d7079dc1f9c7adf7a348a008b20eb96a0bb4504f95f07c31036aa3701dca"
license "Apache-2.0"
revision 1
revision 2

head "https://github.com/ignitionrobotics/ign-gazebo", branch: "ign-gazebo4"

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 "358ad19e816377c73488be80ae2feb725d099dc217270ebd600e849b18c1f97a" => :mojave
sha256 "4ebd751fe39b52415a60828bde0a625e238eddfca9e58e98692b192bb8afd30a" => :mojave
end

depends_on "cmake" => :build
Expand All @@ -26,9 +26,11 @@ class IgnitionGazebo4 < Formula
depends_on "ignition-plugin1"
depends_on "ignition-rendering4"
depends_on "ignition-sensors4"
depends_on "ignition-tools"
depends_on "ignition-transport9"
depends_on macos: :mojave # c++17
depends_on "pkg-config"
depends_on "ruby"
depends_on "sdformat10"

def install
Expand All @@ -44,6 +46,10 @@ def install
end

test do
ENV["IGN_CONFIG_PATH"] = "#{opt_share}/ignition"
system Formula["ruby"].opt_bin/"ruby",
Formula["ignition-tools"].opt_bin/"ign",
"gazebo", "-s", "--iterations", "5", "-r", "-v", "4"
(testpath/"test.cpp").write <<-EOS
#include <cstdint>
#include <ignition/gazebo/Entity.hh>
Expand Down
10 changes: 8 additions & 2 deletions Formula/ignition-gazebo5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ class IgnitionGazebo5 < Formula
version "4.999.999~0~20201028~e43f76"
sha256 "41e860861a22040892cdbd6c3cf69d10f59ce693eb8078f233fde63c3b16f9bd"
license "Apache-2.0"
revision 1
revision 2

head "https://github.com/ignitionrobotics/ign-gazebo", branch: "main"

bottle do
root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
sha256 "50136b606fa3978ce0f48fe7595fbf2f142ef8f3e5be5740bfa5b88b580ab71d" => :mojave
sha256 "a81d0dbc3219e1f6f6b6c1dd66ff4fb5939ea36ad96f7db155f363a96ea031af" => :mojave
end

depends_on "cmake" => :build
Expand All @@ -27,9 +27,11 @@ class IgnitionGazebo5 < Formula
depends_on "ignition-plugin1"
depends_on "ignition-rendering5"
depends_on "ignition-sensors5"
depends_on "ignition-tools"
depends_on "ignition-transport9"
depends_on macos: :mojave # c++17
depends_on "pkg-config"
depends_on "ruby"
depends_on "sdformat10"

def install
Expand All @@ -45,6 +47,10 @@ def install
end

test do
ENV["IGN_CONFIG_PATH"] = "#{opt_share}/ignition"
system Formula["ruby"].opt_bin/"ruby",
Formula["ignition-tools"].opt_bin/"ign",
"gazebo", "-s", "--iterations", "5", "-r", "-v", "4"
(testpath/"test.cpp").write <<-EOS
#include <cstdint>
#include <ignition/gazebo/Entity.hh>
Expand Down