Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- run: dotnet --info
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "9.x"
dotnet-version: "10.x"
- name: Install
run: |
echo '# placeholder' > $PROFILE
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
- run: lscpu
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "9.x"
dotnet-version: "10.x"
- name: Install
run: |
dotnet --info
Expand Down
6 changes: 3 additions & 3 deletions bench/bench_csharp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ source_rename_to: app.cs
environments:
- os: linux
compiler: dotnet
version: 9
version: 10
compiler_version_command: dotnet --version
docker: mcr.microsoft.com/dotnet/sdk:9.0
docker: mcr.microsoft.com/dotnet/sdk:10.0
# docker_volumns:
# - /tmp/.nuget/packages:/root/.nuget/packages
include: dotnet
build: dotnet publish -c Release -r linux-x64 -f net9 --self-contained true -p:PublishSingleFile=true -o pub # -p:PublishReadyToRun=true
build: dotnet publish -c Release -r linux-x64 -f net10.0 --self-contained true -p:PublishSingleFile=true -o pub # -p:PublishReadyToRun=true
after_build:
- mv pub/app out
out_dir: out
Expand Down
4 changes: 2 additions & 2 deletions bench/bench_csharp_native_aot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ source_rename_to: app.cs
environments:
- os: linux
compiler: dotnet/aot
version: 9
version: 10
compiler_version_command: dotnet --version
include: dotnet
build: dotnet publish -c Release -r linux-x64 -f net9 -p:PublishAot=true -o pub
build: dotnet publish -c Release -r linux-x64 -f net10.0 -p:PublishAot=true -o pub
after_build:
- mv pub/app out
out_dir: out
Expand Down
2 changes: 1 addition & 1 deletion bench/include/dotnet/app.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFrameworks>net9;</TargetFrameworks>
<TargetFrameworks>net10.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion bench/tool/BenchTool.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
Expand Down