diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e72c8496e..a7ebf3441 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: os: ubuntu-24.04 config: release name: Linux musl x64 CPU - container: mcr.microsoft.com/dotnet/sdk:9.0-alpine + container: mcr.microsoft.com/dotnet/sdk:10.0-alpine steps: - name: Free Disk Space (Ubuntu) if: ${{ matrix.build == 'linux-x64-cpu' || matrix.build == 'linux-arm64-cpu' }} @@ -88,7 +88,7 @@ jobs: - name: Build run: dotnet build LLamaSharp.sln -c ${{ matrix.config }} --no-restore - name: Test - run: dotnet test LLamaSharp.sln -c ${{ matrix.config }} -l "console;verbosity=detailed" --diag:logs/log.txt --filter Category!=NoCI + run: dotnet test LLamaSharp.sln -c ${{ matrix.config }} --filter "Category!=NoCI" -- --diagnostic --diagnostic-verbosity Trace --diagnostic-output-directory logs - name: Upload artifacts uses: actions/upload-artifact@v4 with: diff --git a/global.json b/global.json new file mode 100644 index 000000000..b4ab45583 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ + +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +}