From 861a87f823494bf78dc4aba95473ca91144c3432 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 11 Oct 2023 00:31:07 +0200 Subject: [PATCH] Remove .NET Framework 4.7.2 from CI script --- .github/workflows/dotnet.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 63b9cf24..35ac0492 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -68,7 +68,7 @@ jobs: needs: [build-solution] strategy: matrix: - framework: [net7.0, net6.0, net472] + framework: [net7.0, net6.0] runs-on: windows-2022 # Set the environment variable which is then looked up in ComputeSharp.Dynamic. @@ -99,13 +99,9 @@ jobs: # the code paths being tested in this project are heavily dependent on process-wide mutable state (ie. DirectX 12 devices). - name: Run ComputeSharp.Tests.DeviceLost "DeviceDisposal" run: dotnet test tests\ComputeSharp.Tests.DeviceLost\ComputeSharp.Tests.DeviceLost.csproj --filter "TestCategory=DeviceDisposal" -c Release -f ${{matrix.framework}} -v n -l "console;verbosity=detailed" - - # These tests are failing randomly in the CI on .NET Framework, disabling them just for now - - if: matrix.framework != 'net472' - name: Run ComputeSharp.Tests.DeviceLost "DeviceLost" + - name: Run ComputeSharp.Tests.DeviceLost "DeviceLost" run: dotnet test tests\ComputeSharp.Tests.DeviceLost\ComputeSharp.Tests.DeviceLost.csproj --filter "TestCategory=DeviceLost" -c Release -f ${{matrix.framework}} -v n -l "console;verbosity=detailed" - - if: matrix.framework != 'net472' - name: Run ComputeSharp.Tests.DeviceLost "GetDefaultDevice" + - name: Run ComputeSharp.Tests.DeviceLost "GetDefaultDevice" run: dotnet test tests\ComputeSharp.Tests.DeviceLost\ComputeSharp.Tests.DeviceLost.csproj --filter "TestCategory=GetDefaultDevice" -c Release -f ${{matrix.framework}} -v n -l "console;verbosity=detailed" # D2D1 unit tests @@ -171,7 +167,7 @@ jobs: needs: [build-solution] strategy: matrix: - framework: [net7.0, net6.0, net472] + framework: [net7.0, net6.0] runs-on: windows-2022 steps: - name: Git checkout @@ -296,7 +292,7 @@ jobs: needs: [build-packages] strategy: matrix: - framework: [net7.0, net6.0, net472] + framework: [net7.0, net6.0] runs-on: windows-2022 steps: - name: Git checkout