Skip to content

Commit

Permalink
Fixed AOT publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Dec 29, 2024
1 parent ddd7c27 commit 26da8be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand All @@ -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
Expand Down

0 comments on commit 26da8be

Please sign in to comment.