Files
MQTTnet/.github/workflows/ci.yml
T
2022-01-06 20:18:04 +01:00

24 lines
605 B
YAML

name: CI
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ['6.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore MQTTnet.sln
- name: Build
run: dotnet build --configuration Release --no-restore MQTTnet.sln
- name: Test
run: dotnet test --no-restore --verbosity normal MQTTnet.sln