-
Notifications
You must be signed in to change notification settings - Fork 533
Expand file tree
/
Copy pathbuild-internal-aot.yml
More file actions
47 lines (39 loc) · 1.21 KB
/
build-internal-aot.yml
File metadata and controls
47 lines (39 loc) · 1.21 KB
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
# File: templates/build-internal-aot.yml
parameters:
BuildConfiguration: ''
Arguments: ''
VmImage: ''
OS: 'Windows'
jobs:
- job:
displayName: InternalFlag ${{ parameters.BuildConfiguration }}
pool:
name: 'OneES'
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 9.0
inputs:
packageType: 'runtime'
version: '9.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'
- task: UseDotNet@2
displayName: Use .NET 9.0
inputs:
packageType: 'sdk'
version: '9.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos Internal
inputs:
command: build
configuration: $(parameters.BuildConfiguration)
nugetConfigPath: NuGet.config
projects: Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
arguments: -p:Optimize=true -p:DefineConstants="DOCDBCLIENT COSMOSCLIENT NETSTANDARD20 INTERNAL"
versioningScheme: OFF