File tree 6 files changed +53
-5
lines changed
6 files changed +53
-5
lines changed Original file line number Diff line number Diff line change 5
5
<packageSources >
6
6
<clear />
7
7
<add key =" DNCENG-CoreClrPal" value =" https://pkgs.dev.azure.com/dnceng/public/_packaging/CoreClrPal/nuget/v3/index.json" />
8
- <add key =" privateDependency" value =" https://pkgs.dev.azure.com/devdiv/DevDiv/_packaging/ClrInstrumentationEngine-PrivateDependency/nuget/v3/index.json" />
9
8
</packageSources >
10
9
<activePackageSource >
11
10
<add key =" All" value =" (Aggregate source)" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <!-- Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the MIT License. -->
4
+ <configuration >
5
+ <packageSources >
6
+ <clear />
7
+ <add key =" DNCENG-CoreClrPal" value =" https://pkgs.dev.azure.com/dnceng/public/_packaging/CoreClrPal/nuget/v3/index.json" />
8
+ <add key =" privateDependency" value =" https://pkgs.dev.azure.com/devdiv/DevDiv/_packaging/ClrInstrumentationEngine-PrivateDependency/nuget/v3/index.json" />
9
+ </packageSources >
10
+ <activePackageSource >
11
+ <add key =" All" value =" (Aggregate source)" />
12
+ </activePackageSource >
13
+ <config >
14
+ <!-- For projects using packages.config -->
15
+ <add key =" repositoryPath" value =" packages" />
16
+ <!-- For projects not using packages.config -->
17
+ <add key =" globalPackagesFolder" value =" packages" />
18
+ </config >
19
+ </configuration >
Original file line number Diff line number Diff line change 48
48
Debug_AnyCPU :
49
49
Configuration : ' Debug'
50
50
Platform : ' Any CPU'
51
+ ${{ if eq(parameters.IsMicroBuildInternal, 'true') }} :
52
+ Release_ARM64 :
53
+ Configuration : ' Release'
54
+ Platform : ' ARM64'
55
+ Debug_ARM64 :
56
+ Configuration : ' Debug'
57
+ Platform : ' ARM64'
51
58
52
59
# Linux Binaries
53
60
- template : linux/binaries.yaml
Original file line number Diff line number Diff line change 36
36
Debug_AnyCPU :
37
37
Configuration : ' Debug'
38
38
Platform : ' Any CPU'
39
+ ${{ if eq(parameters.IsMicroBuildInternal, 'true') }} :
40
+ Release_ARM64 :
41
+ Configuration : ' Release'
42
+ Platform : ' ARM64'
43
+ Debug_ARM64 :
44
+ Configuration : ' Debug'
45
+ Platform : ' ARM64'
39
46
40
47
# Linux Packages
41
48
- template : linux/packages.yaml
Original file line number Diff line number Diff line change 5
5
6
6
parameters :
7
7
Solution : ' '
8
- Condition : ' succeeded()'
9
8
BinLogCategory : ' '
10
9
11
10
steps :
11
+ - task : NuGetAuthenticate@0
12
+ inputs :
13
+ forceReinstallCredentialProvider : true
14
+
12
15
# 'command: restore' does not take additional arguments, thus set
13
16
# 'command: custom' and 'custom: restore' which then requires setting
14
17
# of all arguments.
@@ -22,4 +25,18 @@ steps:
22
25
--configfile
23
26
$(Build.SourcesDirectory)\NuGet.Config
24
27
-bl:"$(Build.ArtifactStagingDirectory)\logs\${{ parameters.BinLogCategory }}_Windows_AnyCPU_$(Configuration)_Restore.binlog"
25
- condition : ${{ parameters.Condition }}
28
+ condition : and(succeeded(), eq(variables['Platform'], 'Any CPU'))
29
+
30
+ - task : DotNetCoreCLI@2
31
+ displayName : Restore ${{ parameters.Solution }}
32
+ inputs :
33
+ command : custom
34
+ custom : restore
35
+ arguments : >-
36
+ $(Build.SourcesDirectory)\${{ parameters.Solution }}
37
+ --configfile
38
+ $(Build.SourcesDirectory)\NuGet.internal.Config
39
+ /p:IncludeARM64=True
40
+ -bl:"$(Build.ArtifactStagingDirectory)\logs\${{ parameters.BinLogCategory }}_Windows_ARM64_$(Configuration)_Restore.binlog"
41
+ condition : and(succeeded(), eq(variables['Platform'], 'ARM64'))
42
+
Original file line number Diff line number Diff line change @@ -25,11 +25,10 @@ parameters:
25
25
BinLogCategory : ' '
26
26
27
27
steps :
28
- # nuget restore InstrumentationEngine.sln
28
+ # restore InstrumentationEngine.sln packages
29
29
- template : dotnetrestore.yaml
30
30
parameters :
31
31
Solution : InstrumentationEngine.sln
32
- Condition : and(succeeded(), eq(variables['Platform'], 'Any CPU'))
33
32
BinLogCategory : ${{ parameters.BinLogCategory }}
34
33
35
34
- template : nugetrestore.yaml
You can’t perform that action at this time.
0 commit comments