diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9ee7743b..c7347cf0 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -70,7 +70,7 @@ jobs: needs: [build-solution] strategy: matrix: - framework: [net6.0, netcoreapp3.1, net472] + framework: [net7.0, net6.0, netcoreapp3.1, net472] runs-on: windows-2022 # Set the environment variable which is then looked up in ComputeSharp.Dynamic. @@ -135,11 +135,11 @@ jobs: - name: Build and run ComputeSharp.Sample.FSharp run: > dotnet build samples\ComputeSharp.Sample.FSharp\ComputeSharp.Sample.FSharp.fsproj -c Release -f ${{matrix.framework}} -r win-x64 --no-self-contained -p:Platform=x64 -v n; - ${{matrix.command}} samples\ComputeSharp.Sample.FSharp\bin\x64\Release\${{matrix.framework}}\win-x64\ComputeSharp.Sample.FSharp.exe + samples\ComputeSharp.Sample.FSharp\bin\x64\Release\${{matrix.framework}}\win-x64\ComputeSharp.Sample.FSharp.exe - name: Build and run ComputeSharp.ImageProcessing.csproj run: > dotnet build samples\ComputeSharp.ImageProcessing\ComputeSharp.ImageProcessing.csproj -c Release -f ${{matrix.framework}} -r win-x64 --no-self-contained -p:Platform=x64 -v n; - ${{matrix.command}} samples\ComputeSharp.ImageProcessing\bin\x64\Release\${{matrix.framework}}\win-x64\ComputeSharp.ImageProcessing.exe + samples\ComputeSharp.ImageProcessing\bin\x64\Release\${{matrix.framework}}\win-x64\ComputeSharp.ImageProcessing.exe # Also publish the NativeAOT test when .NET 7 is used - if: matrix.framework == 'net7.0' diff --git a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj index 665caa99..76766a37 100644 --- a/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj +++ b/tests/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes/ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj @@ -1,7 +1,7 @@ - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj b/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj index 5eb1f978..24781e4d 100644 --- a/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj +++ b/tests/ComputeSharp.D2D1.Tests/ComputeSharp.D2D1.Tests.csproj @@ -1,7 +1,7 @@ - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false $(NoWarn);CS0419;CA1416 diff --git a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj index 42af1773..dcf61143 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj +++ b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj @@ -1,7 +1,7 @@ - + - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false AnyCPU;x64;ARM64 $(NoWarn);CA1416 @@ -22,11 +22,11 @@ - - + + - + $(NoWarn);CS0649 diff --git a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj index 8bb3428d..b8029845 100644 --- a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj +++ b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj @@ -1,7 +1,7 @@ - + - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false AnyCPU;x64;ARM64 $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj b/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj index d1c49db3..93a5f5ef 100644 --- a/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj +++ b/tests/ComputeSharp.Tests.GlobalStatements/ComputeSharp.Tests.GlobalStatements.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net472;net6.0;net7.0 AnyCPU;x64;ARM64 enable $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj index bf6ce0b5..5e93a87d 100644 --- a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj +++ b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj @@ -1,7 +1,7 @@ - + - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false AnyCPU;x64;ARM64 $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj index e2cc395d..28ed4a78 100644 --- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj +++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj @@ -1,7 +1,7 @@ - net472;netcoreapp3.1;net6.0 + net472;netcoreapp3.1;net6.0;net7.0 false AnyCPU;x64;ARM64 $(NoWarn);CA1416 @@ -30,13 +30,13 @@ - - + + - + $(NoWarn);CS0649