TestCommit.yml 835 B

123456789101112131415161718192021222324252627282930
  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@v4
  14. with:
  15. dotnet-version: ${{ matrix.dotnet-version }}
  16. - name: Install dependencies
  17. run: dotnet restore
  18. - name: Build
  19. # https://github.com/dotnet/core/issues/7840 failed to build with 0 errors
  20. run: dotnet build --configuration Debug --no-restore --disable-build-servers
  21. - name: Test
  22. run: dotnet test ./tests/SharpGLTF.Ext.3DTiles.Tests/SharpGLTF.Ext.3DTiles.Tests.csproj --no-build --verbosity diagnostic