re-enable NativeAOT tests on GitHub Actions Windows (#1988)
* call vcvars64.bat to add native tools required by NativeAOT to $path * re-enable NativeAOT tests
This commit is contained in:
Родитель
554127b4f3
Коммит
a0035f9de4
|
@ -10,7 +10,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run
|
||||
run: ./build.ps1
|
||||
shell: cmd
|
||||
run: |
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
./build.bat
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -19,8 +19,6 @@ namespace BenchmarkDotNet.IntegrationTests
|
|||
{
|
||||
if (!RuntimeInformation.Is64BitPlatform()) // NativeAOT does not support 32bit yet
|
||||
return;
|
||||
if (ContinuousIntegration.IsGitHubActionsOnWindows()) // no native dependencies installed
|
||||
return;
|
||||
|
||||
// we use NativeAOT on purpose because it takes a LOT of time to build it
|
||||
// so we can be sure that timeout = 1s should fail!
|
||||
|
|
|
@ -67,9 +67,6 @@ namespace BenchmarkDotNet.IntegrationTests
|
|||
[FactDotNetCoreOnly("We don't want to test NativeAOT twice (for .NET Framework 4.6.1 and .NET 6.0)")]
|
||||
public void MemoryDiagnoserSupportsNativeAOT()
|
||||
{
|
||||
if (ContinuousIntegration.IsGitHubActionsOnWindows())
|
||||
return;
|
||||
|
||||
MemoryDiagnoserIsAccurate(
|
||||
NativeAotToolchain.CreateBuilder()
|
||||
.UseNuGet(
|
||||
|
|
Загрузка…
Ссылка в новой задаче