From bc103e5493b8353050c330c7bad7f12ed5ec0ac9 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 24 Nov 2022 17:34:20 +0100 Subject: [PATCH] Add workaround for dotnet test missing MSBuild properties --- .github/workflows/dotnet.yml | 5 +++++ src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ccdf8cd7..7ab817f2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -70,6 +70,11 @@ jobs: matrix: framework: [net6.0, netcoreapp3.1, net472] runs-on: windows-2022 + + # Set the environment variable which is then looked up in ComputeSharp.Dynamic. + # This is a workaround for https://github.com/actions/runner-images/issues/6531. + env: + CI_RUNNER_DOTNET_TEST_PLATFORM: x64 steps: - name: Git checkout uses: actions/checkout@v3 diff --git a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj index db55494b..7c328154 100644 --- a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj +++ b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj @@ -1,4 +1,4 @@ - + netstandard2.0;net6.0 bin\Release @@ -23,7 +23,7 @@ - + - +