Welcome to mirror list, hosted at ThFree Co, Russian Federation.

richnav.yml « pipelines « .azure - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c606ca462f6e1bef759361b2d8bd4817c40768ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# See https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema for details on this file.
#

# Configure which branches trigger builds
trigger:
  branches:
    include:
    - main
    - release/*

# Do not run this pipeline for PR validation.
pr: none

variables:
- name: _BuildArgs
  value: '/p:SkipTestBuild=true'
- name: WindowsNonX64LogArgs
  value: -ExcludeCIBinaryLog

stages:
- stage: build
  displayName: Build
  jobs:
  # Build Windows (x64/x86/arm64)
  - template: jobs/default-build.yml
    parameters:
      jobName: Windows_build
      jobDisplayName: "Build: Windows x64/x86/arm64"
      enableRichCodeNavigation: true
      agentOs: Windows
      steps:
      - script: ./eng/build.cmd
                -ci
                -arch x64
                -buildNative
                /p:EnableRichCodeNavigation=false
                $(_BuildArgs)
        displayName: Build x64 native assets

      - script: ./eng/build.cmd
                -ci
                -arch x64
                -all
                -noBuildNative
                -noBuildRepoTasks
                $(_BuildArgs)
        displayName: Build x64

      # Build the x86 shared framework
      # This is going to actually build x86 native assets.
      - script: ./eng/build.cmd
                -ci
                -arch x86
                -all
                -noBuildJava
                -noBuildNative
                -noBuildRepoTasks
                $(_BuildArgs)
                $(WindowsNonX64LogArgs)
        displayName: Build x86

      # Build the arm64 shared framework
      - script: ./eng/build.cmd
                -ci
                -arch arm64
                -noBuildJava
                -noBuildNative
                -noBuildRepoTasks
                $(_BuildArgs)
                $(WindowsNonX64LogArgs)
        displayName: Build ARM64