Skip to content

Commit e71fd82

Browse files
authored
Merge branch 'master' into bp/webpexifwithpadding
2 parents c68ef21 + b401937 commit e71fd82

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/ImageSharp.Benchmarks/Config.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ public class MultiFramework : Config
3434
public MultiFramework() => this.AddJob(
3535
Job.Default.WithRuntime(ClrRuntime.Net472),
3636
Job.Default.WithRuntime(CoreRuntime.Core31),
37-
Job.Default.WithRuntime(CoreRuntime.Core50));
37+
Job.Default.WithRuntime(CoreRuntime.Core50).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
3838
}
3939

4040
public class ShortMultiFramework : Config
4141
{
4242
public ShortMultiFramework() => this.AddJob(
4343
Job.Default.WithRuntime(ClrRuntime.Net472).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3),
4444
Job.Default.WithRuntime(CoreRuntime.Core31).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3),
45-
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3));
45+
Job.Default.WithRuntime(CoreRuntime.Core50).WithLaunchCount(1).WithWarmupCount(3).WithIterationCount(3).With(new Argument[] { new MsBuildArgument("/p:DebugType=portable") }));
4646
}
4747

4848
public class ShortCore31 : Config

tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<OutputType>Exe</OutputType>
77
<RootNamespace>SixLabors.ImageSharp.Benchmarks</RootNamespace>
88
<GenerateProgramFile>false</GenerateProgramFile>
9+
<DebugType>portable</DebugType>
910
<!--Used to hide test project from dotnet test-->
1011
<IsTestProject>false</IsTestProject>
1112
<Configurations>Debug;Release;Debug-InnerLoop;Release-InnerLoop</Configurations>

0 commit comments

Comments
 (0)