Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
Iot
提交
c6a421bd
I
Iot
项目概览
jobily
/
Iot
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
c6a421bd
编写于
4月 12, 2019
作者:
J
Jose Perez Rodriguez
提交者:
GitHub
4月 12, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Migrating iot yml from phases to jobs (#358)
上级
8bae3cab
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
56 addition
and
48 deletion
+56
-48
.vsts-ci.yml
.vsts-ci.yml
+56
-48
未找到文件。
.vsts-ci.yml
浏览文件 @
c6a421bd
variables
:
Build.Repository.Clean
:
true
_HelixType
:
build/product
_HelixSource
:
pr/dotnet/arcade-minimalci-sample/$(Build.SourceBranch)
_enableTelemetry
:
true
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
OfficialBuildId
:
$(Build.BuildNumber)
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
:
1
DOTNET_MULTILEVEL_LOOKUP
:
0
-
name
:
Build.Repository.Clean
value
:
true
-
name
:
_enableTelemetry
value
:
true
-
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
name
:
OfficialBuildId
value
:
$(Build.BuildNumber)
-
name
:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
value
:
1
-
name
:
DOTNET_MULTILEVEL_LOOKUP
value
:
0
resources
:
containers
:
...
...
@@ -22,19 +25,21 @@ trigger:
pr
:
-
master
# Three phases for each of the three OSes we want to run on
phases
:
-
template
:
/eng/common/templates/phases/base.yml
jobs
:
-
template
:
/eng/common/templates/job/job.yml
parameters
:
agentOs
:
Windows_NT
name
:
Windows_NT
enableTelemetry
:
$(_enableTelemetry)
queue
:
enablePublishBuildArtifacts
:
true
helixRepo
:
dotnet/iot
pool
:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-internal-temp
name
:
NetCoreInternal-Int-Pool
queue
:
buildpool.windows.10.amd64.vs2017
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-external-temp
parallel
:
99
name
:
Hosted VS2017
strategy
:
matrix
:
debug_configuration
:
_BuildConfig
:
Debug
...
...
@@ -57,19 +62,20 @@ phases:
artifactType
:
container
condition
:
eq(variables['_BuildConfig'], 'Release')
variables
:
_HelixBuildConfig
:
$(_BuildConfig)
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
_TeamName
:
DotNetCore
_SignType
:
real
-
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
_TeamName
:
DotNetCore
-
_SignType
:
real
-
template
:
/eng/common/templates/
phases/base
.yml
-
template
:
/eng/common/templates/
job/job
.yml
parameters
:
agentOs
:
OSX
name
:
OSX
enableTelemetry
:
$(_enableTelemetry)
queue
:
name
:
Hosted macOS Preview
parallel
:
99
enablePublishBuildArtifacts
:
true
helixRepo
:
dotnet/iot
pool
:
name
:
Hosted macOS
strategy
:
matrix
:
debug_configuration
:
_BuildConfig
:
Debug
...
...
@@ -82,15 +88,14 @@ phases:
name
:
Build
displayName
:
Build
condition
:
succeeded()
variables
:
_HelixBuildConfig
:
$(_BuildConfig)
-
template
:
/eng/common/templates/
phases/base
.yml
-
template
:
/eng/common/templates/
job/job
.yml
parameters
:
agentOs
:
Linux
name
:
Linux_libgpiod
enableTelemetry
:
$(_enableTelemetry)
queue
:
helixRepo
:
dotnet/iot
pool
:
name
:
Hosted Ubuntu
1604
steps
:
-
script
:
src/Native/copyLibgpiod.sh
...
...
@@ -103,20 +108,20 @@ phases:
pathToPublish
:
$(Build.SourcesDirectory)/artifacts/libgpiod/
artifactName
:
Libgpiod
artifactType
:
container
variables
:
_HelixBuildConfig
:
$(_BuildConfig)
-
template
:
/eng/common/templates/
phases/base
.yml
-
template
:
/eng/common/templates/
job/job
.yml
parameters
:
dependsOn
:
-
Linux_libgpiod
agentOs
:
Linux
name
:
Linux
enableTelemetry
:
$(_enableTelemetry)
queue
:
enablePublishBuildArtifacts
:
true
helixRepo
:
dotnet/iot
pool
:
name
:
Hosted Ubuntu
1604
parallel
:
99
container
:
LinuxContainer
container
:
LinuxContainer
strategy
:
matrix
:
debug_configuration
:
_BuildConfig
:
Debug
...
...
@@ -146,10 +151,8 @@ phases:
artifactName
:
Native
artifactType
:
container
condition
:
eq(variables['_BuildConfig'], 'Release')
variables
:
_HelixBuildConfig
:
$(_BuildConfig)
-
template
:
/eng/common/templates/
phases/base
.yml
-
template
:
/eng/common/templates/
job/job
.yml
parameters
:
dependsOn
:
-
Windows_NT
...
...
@@ -158,12 +161,15 @@ phases:
agentOs
:
Windows_NT
name
:
BuildPackages
enableTelemetry
:
$(_enableTelemetry)
queue
:
enablePublishBuildArtifacts
:
true
helixRepo
:
dotnet/iot
pool
:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-internal-temp
name
:
NetCoreInternal-Int-Pool
queue
:
buildpool.windows.10.amd64.vs2017
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-external-temp
parallel
:
99
name
:
Hosted VS2017
strategy
:
matrix
:
release_configuration
:
_BuildConfig
:
Release
...
...
@@ -200,24 +206,26 @@ phases:
artifactType
:
container
condition
:
eq(variables['_BuildConfig'], 'Release')
variables
:
_HelixBuildConfig
:
$(_BuildConfig)
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
_TeamName
:
DotNetCore
_SignType
:
real
-
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
_TeamName
:
DotNetCore
-
_SignType
:
real
-
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
template
:
/eng/common/templates/
phases/base
.yml
-
template
:
/eng/common/templates/
job/job
.yml
parameters
:
dependsOn
:
-
BuildPackages
agentOs
:
Windows_NT
name
:
PublishToMyGet
enableTelemetry
:
$(_enableTelemetry)
queue
:
enablePublishBuildArtifacts
:
true
helixRepo
:
dotnet/iot
pool
:
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-internal-temp
name
:
NetCoreInternal-Int-Pool
queue
:
buildpool.windows.10.amd64.vs2017
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}
:
name
:
dotnet-external-temp
name
:
Hosted VS2017
steps
:
-
task
:
DownloadBuildArtifacts@0
displayName
:
Download Built Packages
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录