Skip to content

Commit 33ba061

Browse files
committed
Test linux benchmarks
1 parent bee9e11 commit 33ba061

8 files changed

Lines changed: 57 additions & 26601 deletions

.github/workflows/dotnet.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: dotnet build --no-restore
3131
- name: Test
3232
run: dotnet test --no-build --verbosity normal
33+
3334
build-linux:
3435

3536
runs-on: ubuntu-latest
@@ -54,3 +55,55 @@ jobs:
5455
run: dotnet test --no-build --verbosity normal -f net6.0
5556
- name: Test .NET 8.0
5657
run: dotnet test --no-build --verbosity normal -f net8.0
58+
59+
# benchmark-windows:
60+
#
61+
# runs-on: windows-latest
62+
# timeout-minutes: 360
63+
# needs: build-windows
64+
# if: ${{ github.ref == 'refs/heads/main' }}
65+
#
66+
# steps:
67+
# - uses: actions/checkout@v4
68+
# - name: Setup .NET 6
69+
# uses: actions/setup-dotnet@v4
70+
# with:
71+
# dotnet-version: 6.0.x
72+
# - name: Setup .NET 8
73+
# uses: actions/setup-dotnet@v4
74+
# with:
75+
# dotnet-version: 8.0.x
76+
# - name: Restore dependencies
77+
# run: dotnet restore
78+
# - name: Build
79+
# run: dotnet build --no-restore
80+
# - name: Execute
81+
# run: dotnet run -c Release -f net8.0 -- --runtimes net48 net6.0 net8.0 --filter *
82+
83+
benchmark-linux:
84+
85+
runs-on: ubuntu-latest
86+
timeout-minutes: 360
87+
needs: build-linux
88+
if: ${{ github.ref == 'refs/heads/main' }}
89+
90+
steps:
91+
- uses: actions/checkout@v4
92+
- name: Setup .NET 6
93+
uses: actions/setup-dotnet@v4
94+
with:
95+
dotnet-version: 6.0.x
96+
- name: Setup .NET 8
97+
uses: actions/setup-dotnet@v4
98+
with:
99+
dotnet-version: 8.0.x
100+
- name: Restore dependencies
101+
run: dotnet restore
102+
- name: Build .NET 6.0
103+
run: dotnet build --no-restore -f net6.0
104+
- name: Build .NET 8.0
105+
run: dotnet build --no-restore -f net8.0
106+
- name: Execute
107+
run: dotnet run -c Release -f net8.0 -- --runtimes net6.0 net8.0 --filter *
108+
109+
#TODO process results

SerializersBenchmark/BenchmarkDotNet.Artifacts/results/BuildPlots.R

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)