Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions eng/pipelines/coreclr/templates/run-scenarios-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,17 @@ jobs:
Write-Host "Set DOTNET_ROOT to $(PayloadDirectory)\dotnet"
displayName: Explicitly set DOTNET_ROOT (Windows)
condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'))
# Set PATH
- script: |
echo "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT):$(PATH)"
echo "Set PATH to $(DOTNET_ROOT):$(PATH)"
displayName: Explicitly set PATH (Non-Windows)
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
- powershell: |
Write-Host "##vso[task.setvariable variable=PATH;]$(DOTNET_ROOT);$(PATH)"
Write-Host "Set PATH to $(DOTNET_ROOT);$(PATH)"
displayName: Explicitly set PATH (Windows)
condition: and(succeeded(), eq(variables['Agent.Os'], 'Windows_NT'))
# build Startup
- script: $(PayloadDirectory)\dotnet\dotnet.exe publish -c Release -o $(WorkItemDirectory)\Startup -f net7.0 -r win-$(Architecture) $(PerformanceDirectory)\src\tools\ScenarioMeasurement\Startup\Startup.csproj -p:DisableTransitiveFrameworkReferenceDownloads=true
displayName: Build Startup tool (Windows)
Expand Down