From c1f4f18eb05b3de11e8f7ca0336a07c5246f4768 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 27 Aug 2022 23:22:33 +0200 Subject: [PATCH] Restore CI tests now that main is not on C# preview This reverts ab16a2ccb765ebcfb771a00e843c2bc1d5caaf10 --- .github/workflows/dotnet.yml | 38 +++++++++++++++++------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2ccfe21a..31d41d70 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -143,26 +143,24 @@ jobs: - name: Run ComputeSharp.Tests.Internals (.NET 6) run: dotnet test tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj -c Release -f net6.0 -v n -l "console;verbosity=detailed" shell: cmd - - # These tests are failing in the CI due to the preview SDK with ref escape semantics, uncomment when code is updated - #- name: Run ComputeSharp.Tests (.NET Core 3.1) - # run: dotnet test tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd - #- name: Run ComputeSharp.Tests.DisableDynamicCompilation (.NET Core 3.1) - # run: dotnet test tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd - #- name: Run ComputeSharp.Tests.Internals (.NET Core 3.1) - # run: dotnet test tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd - #- name: Run ComputeSharp.Tests (.NET Framework 4.7.2) - # run: dotnet test tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd - #- name: Run ComputeSharp.Tests.DisableDynamicCompilation (.NET Framework 4.7.2) - # run: dotnet test tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd - #- name: Run ComputeSharp.Tests.Internals (.NET Framework 4.7.2) - # run: dotnet test tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" - # shell: cmd + - name: Run ComputeSharp.Tests (.NET Core 3.1) + run: dotnet test tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd + - name: Run ComputeSharp.Tests.DisableDynamicCompilation (.NET Core 3.1) + run: dotnet test tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd + - name: Run ComputeSharp.Tests.Internals (.NET Core 3.1) + run: dotnet test tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj -c Release -f netcoreapp3.1 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd + - name: Run ComputeSharp.Tests (.NET Framework 4.7.2) + run: dotnet test tests\ComputeSharp.Tests\ComputeSharp.Tests.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd + - name: Run ComputeSharp.Tests.DisableDynamicCompilation (.NET Framework 4.7.2) + run: dotnet test tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd + - name: Run ComputeSharp.Tests.Internals (.NET Framework 4.7.2) + run: dotnet test tests\ComputeSharp.Tests.Internals\ComputeSharp.Tests.Internals.csproj -c Release -f net472 /p:Platform=x64 -v n -l "console;verbosity=detailed" + shell: cmd - name: Run ComputeSharp.Tests.SourceGenerators run: dotnet test tests\ComputeSharp.Tests.SourceGenerators\ComputeSharp.Tests.SourceGenerators.csproj -v n -l "console;verbosity=detailed"