diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ea119f691..d0a3b6b3a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,6 +3,7 @@ variables: TestFolder: src/DotNext.Tests TestProject: $(TestFolder)/DotNext.Tests.csproj AotTestFolder: src/DotNext.AotTests + AotTestProject: $(AotTestFolder)/DotNext.AotTests.csproj InternetAccess: false DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')] @@ -27,12 +28,13 @@ stages: displayName: Publish AOT Tests inputs: command: publish - workingDirectory: $(AotTestFolder) - arguments: --configuration Release + publishWebProjects: false + projects: $(AotTestProject) + arguments: --configuration Release --output $(AotTestFolder)\bin\aot-tests - task: CmdLine@2 displayName: Run AOT Tests inputs: - workingDirectory: $(AotTestFolder)\bin\Release\net8.0\windows-x64\ + workingDirectory: $(AotTestFolder)\bin\aot-tests script: start /b DotNext.AotTests.exe - task: DotNetCoreCLI@2 displayName: Test Debug