Skip to content

feat: Add gRPC binding: client, ASP.NET Core server, and tests #966

feat: Add gRPC binding: client, ASP.NET Core server, and tests

feat: Add gRPC binding: client, ASP.NET Core server, and tests #966

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
buildLibs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- dotnet-version: 8.x
framework: net8.0
- dotnet-version: 10.x
framework: net10.0
steps:
- uses: actions/checkout@v6.0.3
- name: Setup .NET 10.x
uses: actions/setup-dotnet@v5.3.0
with:
dotnet-version: 10.x
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v5.3.0
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: BuildLibs
run: dotnet build ./src/A2ALibs.slnx --framework ${{ matrix.framework }}
- name: TestLibs
run: dotnet test ./src/A2ALibs.slnx --no-build --verbosity normal --framework ${{ matrix.framework }}
buildSamples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.3
- name: Setup .NET 10.x
uses: actions/setup-dotnet@v5.3.0
with:
dotnet-version: 10.x
- name: Restore dependencies
run: dotnet restore
- name: BuildLibs
run: dotnet build --framework net10.0
- name: TestLibs
run: dotnet test --no-build --verbosity normal --framework net10.0