Add support for netcoreapp5.0 to micro benchmarks (dotnet/extensions#2190)
\n\nCommit migrated from 72bcb43aee
This commit is contained in:
parent
f9a052ec67
commit
591d6c13ec
|
|
@ -30,8 +30,12 @@ namespace BenchmarkDotNet.Attributes
|
||||||
Add(Job.Core
|
Add(Job.Core
|
||||||
#if NETCOREAPP2_1
|
#if NETCOREAPP2_1
|
||||||
.With(CsProjCoreToolchain.From(NetCoreAppSettings.NetCoreApp21))
|
.With(CsProjCoreToolchain.From(NetCoreAppSettings.NetCoreApp21))
|
||||||
#else
|
#elif NETCOREAPP3_0
|
||||||
.With(CsProjCoreToolchain.From(new NetCoreAppSettings("netcoreapp3.0", null, ".NET Core 3.0")))
|
.With(CsProjCoreToolchain.From(new NetCoreAppSettings("netcoreapp3.0", null, ".NET Core 3.0")))
|
||||||
|
#elif NETCOREAPP5_0
|
||||||
|
.With(CsProjCoreToolchain.From(new NetCoreAppSettings("netcoreapp5.0", null, ".NET Core 5.0")))
|
||||||
|
#else
|
||||||
|
#error Target frameworks need to be updated.
|
||||||
#endif
|
#endif
|
||||||
.With(new GcMode { Server = true })
|
.With(new GcMode { Server = true })
|
||||||
.With(RunStrategy.Throughput));
|
.With(RunStrategy.Throughput));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue