зеркало из https://github.com/dotnet/aspnetcore.git
51 строка
1.7 KiB
YAML
51 строка
1.7 KiB
YAML
# We only want to run full helix matrix on main
|
|
pr: none
|
|
trigger: none
|
|
schedules:
|
|
# Cron timezone is UTC.
|
|
- cron: "0 */12 * * *"
|
|
branches:
|
|
include:
|
|
- main
|
|
always: true
|
|
- cron: "0 9 * * *"
|
|
branches:
|
|
include:
|
|
- release/5.0
|
|
- release/6.0
|
|
always: false
|
|
|
|
variables:
|
|
- name: _UseHelixOpenQueues
|
|
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
|
|
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
|
- group: DotNet-HelixApi-Access
|
|
|
|
jobs:
|
|
- template: jobs/default-build.yml
|
|
parameters:
|
|
jobName: Helix_matrix_x64
|
|
jobDisplayName: 'Tests: Helix full matrix x64'
|
|
agentOs: Windows
|
|
timeoutInMinutes: 480
|
|
steps:
|
|
# Build the shared framework
|
|
- script: ./eng/build.cmd -ci -nobl -all -pack -arch x64
|
|
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
|
displayName: Build shared fx
|
|
- script: ./eng/build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj
|
|
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
|
displayName: Restore interop projects
|
|
- script: .\eng\build.cmd -ci -nobl -noBuildRepoTasks -NoRestore -test -all -noBuildNative
|
|
-projects eng\helix\helix.proj
|
|
/p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true
|
|
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
|
displayName: Run build.cmd helix target
|
|
env:
|
|
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
|
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
|
|
artifacts:
|
|
- name: Helix_logs
|
|
path: artifacts/log/
|
|
publishOnError: true
|