Skip to content

Commit ff8601f

Browse files
committed
Build the raygun-apm mswin variant instead of skipping
The platform-conflict lock spec skipped on mswin because the raygun-apm fixture only built linux, darwin, and mingw variants. Add an x64-mswin64 build so the local platform resolves and the example runs there too.
1 parent b384022 commit ff8601f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

spec/commands/lock_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,6 @@
12861286
end
12871287

12881288
it "does not conflict on ruby requirements when adding new platforms" do
1289-
skip "the raygun-apm fixture has no x64-mswin64 variant for the current platform" if RUBY_PLATFORM.include?("mswin")
12901289
build_repo4 do
12911290
build_gem "raygun-apm", "1.0.78" do |s|
12921291
s.platform = "x86_64-linux"
@@ -1302,6 +1301,11 @@
13021301
s.platform = "x64-mingw-ucrt"
13031302
s.required_ruby_version = "< #{next_ruby_minor}.dev"
13041303
end
1304+
1305+
build_gem "raygun-apm", "1.0.78" do |s|
1306+
s.platform = "x64-mswin64"
1307+
s.required_ruby_version = "< #{next_ruby_minor}.dev"
1308+
end
13051309
end
13061310

13071311
gemfile <<-G

0 commit comments

Comments
 (0)