dotnet.yml 642 B

12345678910111213141516171819202122232425
  1. name: SharpGLTF
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ${{ matrix.os }}
  6. strategy:
  7. matrix:
  8. dotnet-version: [ '8.0.x' ]
  9. os: [windows-latest, ubuntu-latest, macos-latest]
  10. steps:
  11. - uses: actions/checkout@v4
  12. - name: Setup dotnet ${{ matrix.dotnet-version }}
  13. uses: actions/setup-dotnet@v3
  14. with:
  15. dotnet-version: ${{ matrix.dotnet-version }}
  16. - name: Install dependencies
  17. run: dotnet restore
  18. - name: Build
  19. run: dotnet build
  20. - name: Test
  21. run: dotnet test ./tests/SharpGLTF.Cesium.Tests/SharpGLTF.Cesium.Tests.csproj