Skip to content

Commit

Permalink
Update to latest BenchmarkDotNet
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Feb 13, 2024
1 parent c274147 commit 2b4b0b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ let cleanFolders (input: string seq) =
}

let benchmarkAssembly =
"src"
</> "Fantomas.Benchmarks"
</> "bin"
</> "Release"
</> "net7.0"
</> "Fantomas.Benchmarks.dll"
"artifacts/bin/Fantomas.Benchmarks/release/Fantomas.Benchmarks.dll"

let semanticVersioning =
__SOURCE_DIRECTORY__
Expand Down Expand Up @@ -79,7 +74,7 @@ pipeline "Build" {

pipeline "Benchmark" {
workingDir __SOURCE_DIRECTORY__
stage "Prepare" { run "dotnet build -c Release src/Fantomas.Benchmarks" }
stage "Prepare" { run "dotnet build -c Release src/Fantomas.Benchmarks --tl" }
stage "Benchmark" { run $"dotnet {benchmarkAssembly}" }
runIfOnlySpecified true
}
Expand Down
2 changes: 2 additions & 0 deletions src/Fantomas.Benchmarks/Fantomas.Benchmarks.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<ItemGroup>
<PackageReference Include="FSharp.Core" />
<PackageReference Include="BenchmarkDotNet" />
<PackageReference Include="FSharp.Core" Version="6.0.4" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Fantomas.Core\Fantomas.Core.fsproj" />
Expand Down

0 comments on commit 2b4b0b9

Please sign in to comment.