Skip to content

Commit 2b4b0b9

Browse files
committed
Update to latest BenchmarkDotNet
1 parent c274147 commit 2b4b0b9

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

build.fsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ let cleanFolders (input: string seq) =
2828
}
2929

3030
let benchmarkAssembly =
31-
"src"
32-
</> "Fantomas.Benchmarks"
33-
</> "bin"
34-
</> "Release"
35-
</> "net7.0"
36-
</> "Fantomas.Benchmarks.dll"
31+
"artifacts/bin/Fantomas.Benchmarks/release/Fantomas.Benchmarks.dll"
3732

3833
let semanticVersioning =
3934
__SOURCE_DIRECTORY__
@@ -79,7 +74,7 @@ pipeline "Build" {
7974

8075
pipeline "Benchmark" {
8176
workingDir __SOURCE_DIRECTORY__
82-
stage "Prepare" { run "dotnet build -c Release src/Fantomas.Benchmarks" }
77+
stage "Prepare" { run "dotnet build -c Release src/Fantomas.Benchmarks --tl" }
8378
stage "Benchmark" { run $"dotnet {benchmarkAssembly}" }
8479
runIfOnlySpecified true
8580
}

src/Fantomas.Benchmarks/Fantomas.Benchmarks.fsproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<ItemGroup>
1313
<PackageReference Include="FSharp.Core" />
1414
<PackageReference Include="BenchmarkDotNet" />
15+
<PackageReference Include="FSharp.Core" Version="6.0.4" />
16+
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
1517
</ItemGroup>
1618
<ItemGroup>
1719
<ProjectReference Include="..\Fantomas.Core\Fantomas.Core.fsproj" />

0 commit comments

Comments
 (0)