You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
938 B

  1. name: CI
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: windows-latest
  6. strategy:
  7. matrix:
  8. dotnet-version: ['6.0.x']
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
  12. uses: actions/setup-dotnet@v1.7.2
  13. with:
  14. dotnet-version: ${{ matrix.dotnet-version }}
  15. - name: Build
  16. shell: pwsh
  17. run: |
  18. Set-Location -Path "Build"
  19. .\build.ps1 1.2.3 4.5.6-rc1
  20. # - name: Install dependencies
  21. # run: dotnet restore MQTTnet.sln
  22. # - name: Build
  23. # run: dotnet build --configuration Release --no-restore MQTTnet.sln
  24. # - name: Test MQTTnet
  25. # run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.Core.Tests\MQTTnet.Tests.csproj
  26. # - name: Test AspNetCore
  27. # run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.AspNetCore.Tests\MQTTnet.AspNetCore.Tests.csproj