From b969c4b655a860b7d569478848719a3f5b9c21b2 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Fri, 2 Sep 2022 19:34:53 -0600 Subject: [PATCH] Allow for unsafe code compilation --- .github/workflows/netdebug.yml | 2 +- .github/workflows/netrelease.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/netdebug.yml b/.github/workflows/netdebug.yml index da11da9..01cf977 100644 --- a/.github/workflows/netdebug.yml +++ b/.github/workflows/netdebug.yml @@ -63,7 +63,7 @@ jobs: run: nuget restore ChaosVDotNet.sln - name: Build - run: msbuild ChaosVDotNet.sln /t:Rebuild -property:Configuration=Debug -p:Platform=x64 -p:VisualStudioVersion=15.0 + run: msbuild ChaosVDotNet.sln /t:Rebuild -property:Configuration=Debug -p:Platform=x64 -p:VisualStudioVersion=15.0 -p:AllowUnsafeBlocks=true - name: Test run: dotnet test --no-build --verbosity normal \ No newline at end of file diff --git a/.github/workflows/netrelease.yml b/.github/workflows/netrelease.yml index fe53322..58b8093 100644 --- a/.github/workflows/netrelease.yml +++ b/.github/workflows/netrelease.yml @@ -63,7 +63,7 @@ jobs: run: nuget restore ChaosVDotNet.sln - name: Build - run: msbuild ChaosVDotNet.sln /t:Rebuild -property:Configuration=Release -p:Platform=x64 -p:VisualStudioVersion=15.0 + run: msbuild ChaosVDotNet.sln /t:Rebuild -property:Configuration=Release -p:Platform=x64 -p:VisualStudioVersion=15.0 -p:AllowUnsafeBlocks=true - name: Test run: dotnet test --no-build --verbosity normal \ No newline at end of file