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.

28 lines
1.0 KiB

  1. name: .NET Core
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@master
  8. - name: Setup .NET Core
  9. uses: actions/setup-dotnet@master
  10. with:
  11. dotnet-version: 3.1.101
  12. - name: dotnet info
  13. run: dotnet --info
  14. - name: dotnet restore
  15. run: dotnet restore ./src/JT1078.sln
  16. - name: dotnet JT808.Protocol.Extensions.JT1078.Test build
  17. run: dotnet build ./src/JT808.Protocol.Extensions.JT1078.Test/JT808.Protocol.Extensions.JT1078.Test.csproj
  18. - name: dotnet JT808.Protocol.Extensions.JT1078.Test test
  19. run: dotnet test ./src/JT808.Protocol.Extensions.JT1078.Test/JT808.Protocol.Extensions.JT1078.Test.csproj
  20. - name: dotnet JT809.Protocol.Extensions.JT1078.Test build
  21. run: dotnet build ./src/JT809.Protocol.Extensions.JT1078.Test/JT809.Protocol.Extensions.JT1078.Test.csproj
  22. - name: dotnet JT809.Protocol.Extensions.JT1078.Test test
  23. run: dotnet test ./src/JT809.Protocol.Extensions.JT1078.Test/JT809.Protocol.Extensions.JT1078.Test.csproj