Skip to content

Commit

Permalink
Added AOT tests to the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Dec 29, 2024
1 parent e4aeace commit 6d2570b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ variables:
Solution: src/DotNext.sln
TestFolder: src/DotNext.Tests
TestProject: $(TestFolder)/DotNext.Tests.csproj
AotTestFolder: src/DotNext.AotTests
InternetAccess: false
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
Expand All @@ -22,6 +23,17 @@ stages:
projects: '$(Solution)'
feedsToUse: 'config'
nugetConfigPath: 'NuGet.config'
- task: DotNetCoreCLI@2
displayName: Publish AOT Tests
inputs:
command: publish
projects: $(AotTestFolder)
arguments: --configuration Release
- task: CmdLine@2
displayName: Run AOT Tests
inputs:
workingDirectory: $(AotTestFolder)\bin\Release\net8.0\windows-x64\
script: start /b DotNext.AotTests.exe
- task: DotNetCoreCLI@2
displayName: Test Debug
inputs:
Expand Down

0 comments on commit 6d2570b

Please sign in to comment.