@@ -221,37 +221,37 @@ jobs:
221221 working-directory : ${{ runner.temp }}/${{ env.nuget-packages-directory }}
222222 dotnet-sdk-version : ${{ env.dotnet-sdk-version }}'
223223
224- benchmark :
225- if : ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
226- name : Benchmark with .NET CLI on ${{ matrix.os }}
227- needs : [build]
228- strategy :
229- matrix :
230- os : [ubuntu-latest, windows-latest, macos-latest]
231- runs-on : ${{ matrix.os }}
232- steps :
233- - name : ' Checkout ${{ github.head_ref || github.ref }}'
234- uses : actions/checkout@v5
235- - name : Install .NET SDK
236- uses : actions/setup-dotnet@v4
237- with :
238- dotnet-version : |
239- 8.x
240- 9.x
241- - name : Download Build
242- uses : actions/download-artifact@v5
243- with :
244- name : build
245- - name : Benchmark
246- working-directory : ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
247- run : dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
248- - name : Upload Benchmark Results
249- uses : actions/upload-artifact@v4
250- with :
251- name : benchmark-${{ matrix.os }}
252- path : |
253- ${{ runner.temp }}/benchmarks/**/*-report-github.md
254- - name : Write Benchmark Summary
255- shell : bash
256- run : cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
257- working-directory : ${{ runner.temp }}/benchmarks/
224+ # benchmark:
225+ # if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
226+ # name: Benchmark with .NET CLI on ${{ matrix.os }}
227+ # needs: [build]
228+ # strategy:
229+ # matrix:
230+ # os: [ubuntu-latest, windows-latest, macos-latest]
231+ # runs-on: ${{ matrix.os }}
232+ # steps:
233+ # - name: 'Checkout ${{ github.head_ref || github.ref }}'
234+ # uses: actions/checkout@v5
235+ # - name: Install .NET SDK
236+ # uses: actions/setup-dotnet@v4
237+ # with:
238+ # dotnet-version: |
239+ # 8.x
240+ # 9.x
241+ # - name: Download Build
242+ # uses: actions/download-artifact@v5
243+ # with:
244+ # name: build
245+ # - name: Benchmark
246+ # working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
247+ # run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 100 --join
248+ # - name: Upload Benchmark Results
249+ # uses: actions/upload-artifact@v4
250+ # with:
251+ # name: benchmark-${{ matrix.os }}
252+ # path: |
253+ # ${{ runner.temp }}/benchmarks/**/*-report-github.md
254+ # - name: Write Benchmark Summary
255+ # shell: bash
256+ # run: cat **/*-report-github.md > $GITHUB_STEP_SUMMARY
257+ # working-directory: ${{ runner.temp }}/benchmarks/
0 commit comments