Skip to content

Misc. Benchmark Updates #198

Misc. Benchmark Updates

Misc. Benchmark Updates #198

Workflow file for this run

name: Build
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: Build (${{ matrix.tfm }})
strategy:
fail-fast: false
matrix:
tfm: [net8.0, net9.0, net10.0]
steps:
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test tests/PostgreSignalR.IntegrationTests/PostgreSignalR.IntegrationTests.csproj -f ${{ matrix.tfm }} --no-build --verbosity normal --blame-hang --blame-hang-timeout 2m --blame-hang-dump-type mini -- --stop-on-fail on
timeout-minutes: 10
build-status:
name: Build
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Fail if any TFM job did not succeed
run: |
if [ "${{ needs.build.result }}" != "success" ]; then
echo "One or more TFM jobs did not succeed (result: ${{ needs.build.result }})."
exit 1
fi