From d3a2b0a278dc1f7aa93506dcf3fa8ca58d454fc9 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 6 Sep 2023 20:24:49 +0200 Subject: [PATCH] Upload binlog for GlobalStatements --- .github/workflows/dotnet.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c85bcfe1e..9a25bbea9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -69,10 +69,9 @@ jobs: # Run all unit tests referencing the ComputeSharp projects directly run-tests: - needs: [build-solution] strategy: matrix: - framework: [net7.0, net6.0, net472] + framework: [net7.0] runs-on: windows-2022 # Set the environment variable which is then looked up in ComputeSharp.Dynamic. @@ -88,6 +87,14 @@ jobs: run: dotnet test tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj -c Release -f ${{matrix.framework}} /p:Platform=x64 -v n -l "console;verbosity=detailed" - name: Run ComputeSharp.Tests.DisableDynamicCompilation run: dotnet test tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj -c Release -f ${{matrix.framework}} /p:Platform=x64 -v n -l "console;verbosity=detailed" + - name: Build ComputeSharp.Tests.GlobalStatements + run: dotnet build tests\ComputeSharp.Tests.GlobalStatements\ComputeSharp.Tests.GlobalStatements.csproj -c Release -f ${{matrix.framework}} /p:Platform=x64 /bl + - name: Upload ComputeSharp.Tests.GlobalStatements binlog + uses: actions/upload-artifact@v3 + with: + name: globals_statements.binlog + path: msbuild.binlog + if-no-files-found: error - name: Run ComputeSharp.Tests.GlobalStatements run: dotnet test tests\ComputeSharp.Tests.GlobalStatements\ComputeSharp.Tests.GlobalStatements.csproj -c Release -f ${{matrix.framework}} /p:Platform=x64 -v n -l "console;verbosity=detailed" - name: Run ComputeSharp.Tests.Internals