Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
Runtime
提交
3ec5b24c
R
Runtime
项目概览
jobily
/
Runtime
10 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
3ec5b24c
编写于
1月 24, 2020
作者:
S
Santiago Fernandez Madero
提交者:
GitHub
1月 24, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix restore of internal tools and enable IBC merge (#1846)
上级
98a558c9
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
42 addition
and
38 deletion
+42
-38
eng/Versions.props
eng/Versions.props
+1
-2
eng/pipelines/common/restore-internal-tools.yml
eng/pipelines/common/restore-internal-tools.yml
+26
-0
eng/pipelines/common/variables.yml
eng/pipelines/common/variables.yml
+1
-1
eng/pipelines/coreclr/templates/build-job.yml
eng/pipelines/coreclr/templates/build-job.yml
+9
-21
eng/pipelines/libraries/build-job.yml
eng/pipelines/libraries/build-job.yml
+5
-14
未找到文件。
eng/Versions.props
浏览文件 @
3ec5b24c
...
...
@@ -17,8 +17,7 @@
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
<!-- Opt-in/out repo features -->
<UsingToolMicrosoftNetCompilers>true</UsingToolMicrosoftNetCompilers>
<!-- TODO: (Consolidation) Fix internal tool restore and re-enable. https://github.com/dotnet/runtime/issues/1024 -->
<!-- <UsingToolIbcOptimization>true</UsingToolIbcOptimization> -->
<UsingToolIbcOptimization>true</UsingToolIbcOptimization>
<UsingToolXliff>false</UsingToolXliff>
<!-- Paths used during restore -->
<EnableNgenOptimization Condition="'$(EnableNgenOptimization)' == '' and '$(ConfigurationGroup)' == 'Release'">true</EnableNgenOptimization>
...
...
eng/pipelines/common/restore-internal-tools.yml
0 → 100644
浏览文件 @
3ec5b24c
parameters
:
installDotnet
:
false
steps
:
-
${{ if eq(parameters.installDotnet,
true
) }}
:
-
task
:
UseDotNet@2
displayName
:
Install dotnet ${{ parameters.dotnetVersion }}
inputs
:
packageType
:
sdk
useGlobalJson
:
true
installationPath
:
$(Agent.ToolsDirectory)/dotnet
-
task
:
NuGetAuthenticate@0
inputs
:
nuGetServiceConnections
:
'
dotnet-core-internal-tooling'
-
task
:
DotNetCoreCLI@2
displayName
:
Restore internal tools
condition
:
and(succeeded(), ne(variables['_skipRestoreInternalTools'], 'true'))
inputs
:
command
:
restore
feedsToUse
:
config
projects
:
'
eng/common/internal/Tools.csproj'
nugetConfigPath
:
'
eng/internal/NuGet.config'
restoreDirectory
:
'
$(Build.SourcesDirectory)\.packages'
verbosityRestore
:
'
normal'
\ No newline at end of file
eng/pipelines/common/variables.yml
浏览文件 @
3ec5b24c
...
...
@@ -7,4 +7,4 @@ variables:
${{ if ne(variables['Build.Reason'], 'PullRequest') }}
:
value
:
Release
${{ if eq(variables['Build.Reason'], 'PullRequest') }}
:
value
:
Debug
\ No newline at end of file
value
:
Debug
eng/pipelines/coreclr/templates/build-job.yml
浏览文件 @
3ec5b24c
...
...
@@ -89,11 +89,11 @@ jobs:
-
${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}
:
-
name
:
officialBuildIdArg
value
:
'
-officialbuildid=$(Build.BuildNumber)'
# TODO: (Consolidation) Fix internal tool restore and re-enable. https://github.com/dotnet/runtime/issues/1024
#
#
IBCMerge is currently Windows-only and x86/x64-only
#
- ${{ if and(eq(parameters.osGroup, 'Windows_NT'), or(eq(parameters.archType, 'x64'), eq(parameters.archType, 'x86'))) }}:
#
- name: ibcOptimizeArg
#
value: '-ibcoptimize'
# IBCMerge is currently Windows-only and x86/x64-only
-
${{ if and(eq(parameters.osGroup, 'Windows_NT'), or(eq(parameters.archType, 'x64'), eq(parameters.archType, 'x86'))) }}
:
-
name
:
ibcOptimizeArg
value
:
'
-ibcoptimize'
-
name
:
enforcePgoArg
value
:
'
'
# The EnforcePGO script is only supported on Windows and is not supported on arm or arm64.
...
...
@@ -117,26 +117,14 @@ jobs:
-
script
:
$(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName
:
Install native dependencies
# TODO: (Consolidation) Fix internal tool restore and re-enable. https://github.com/dotnet/runtime/issues/1024
# # Install internal tools on official builds
# # Since our internal tools are behind an authenticated feed,
# # we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
# # We can't do this from within the build, so we need to do this as a separate step.
# - ${{ if and(and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')), eq(parameters.osGroup, 'Windows_NT')) }}:
# - task: DotNetCoreInstaller@0
# inputs:
# packageType: 'sdk'
# version: '2.1.503'
# - task: DotNetCoreCLI@2
# displayName: Restore internal tools
# inputs:
# command: restore
# feedsToUse: config
# projects: '$(Build.SourcesDirectory)/eng/common/internal/Tools.csproj'
# nugetConfigPath: 'eng/internal/NuGet.config'
# restoreDirectory: '$(Build.SourcesDirectory)\.packages'
# verbosityRestore: 'normal'
# externalFeedCredentials: 'dotnet-core-internal-tooling'
-
${{ if and(and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')), eq(parameters.osGroup, 'Windows_NT')) }}
:
-
template
:
/eng/pipelines/common/restore-internal-tools.yml
parameters
:
installDotnet
:
true
# Build
-
${{ if ne(parameters.osGroup, 'Windows_NT') }}
:
...
...
eng/pipelines/libraries/build-job.yml
浏览文件 @
3ec5b24c
...
...
@@ -67,20 +67,6 @@ jobs:
-
${{ parameters.variables }}
steps
:
# TODO: (Consolidation) Fix internal tool restore and re-enable. https://github.com/dotnet/runtime/issues/1024
# - ${{ if eq(parameters.isOfficialBuild, true) }}:
# - task: DotNetCoreCLI@2
# displayName: Restore internal tools
# condition: and(succeeded(), ne(variables['_skipRestoreInternalTools'], 'true'))
# inputs:
# command: restore
# feedsToUse: config
# projects: 'eng/common/internal/Tools.csproj'
# nugetConfigPath: 'eng/internal/NuGet.config'
# restoreDirectory: '$(Build.SourcesDirectory)\.packages'
# verbosityRestore: 'normal'
# externalFeedCredentials: 'dotnet-core-internal-tooling'
-
${{ if eq(parameters.osGroup, 'OSX') }}
:
-
script
:
|
brew install pkgconfig icu4c openssl
...
...
@@ -102,6 +88,11 @@ jobs:
-
script
:
$(_buildScript) -restore $(_buildArguments) $(_skipTestRestoreArg)
displayName
:
Restore
-
${{ if eq(parameters.isOfficialBuild,
true
) }}
:
-
template
:
/eng/pipelines/common/restore-internal-tools.yml
parameters
:
installDotnet
:
false
-
script
:
$(_buildScript)
$(_buildAction)
$(_buildArguments)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录