-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live-live CI pipeline #294
Changes from all commits
7f2b903
275ee15
8336382
1626467
9247827
ac47a03
d2c0c82
36b9784
1c04de4
8048966
c8820f2
7284d22
daa935d
052313e
3b23c9a
58f8c52
b8d1264
f69fca7
91ce5a4
b1bf69b
5ec9607
b668b57
7674b40
7402ce7
28a52c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ parameters: | |
testGroup: '' | ||
crossrootfsDir: '' | ||
corefxTests: false | ||
liveLibrariesBuildConfig: '' | ||
stagedBuild: false | ||
strategy: '' | ||
pool: '' | ||
|
@@ -103,6 +104,18 @@ jobs: | |
- name: priorityArg | ||
value: '-priority=1' | ||
|
||
- librariesArtifactName: '' | ||
- librariesOverrideArg: '' | ||
- librariesDownloadDir: '' | ||
|
||
- ${{ if ne(parameters.liveLibrariesBuildConfig, '') }}: | ||
- librariesArtifactName: ${{ format('libraries_bin_{0}_{1}{2}_{3}_{4}', 'netcoreapp', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveLibrariesBuildConfig) }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might make sense to move these |
||
- librariesDownloadDir: $(Build.SourcesDirectory)/artifacts | ||
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}: | ||
- librariesOverrideArg: ' localcorefxpath $(Build.SourcesDirectory) localcorefxconfig ${{ parameters.liveLibrariesBuildConfig }}' | ||
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}: | ||
- librariesOverrideArg: ' localcorefxpath=$(Build.SourcesDirectory) localcorefxconfig=${{ parameters.liveLibrariesBuildConfig }}' | ||
|
||
- ${{ each variable in parameters.variables }}: | ||
- ${{insert}}: ${{ variable }} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,14 @@ parameters: | |
archType: '' | ||
framework: netcoreapp | ||
isOfficialBuild: false | ||
|
||
# When set to a non-empty value (Debug / Release), it determines CoreCLR | ||
# build configuration to use for building libraries and tests. Setting this | ||
# property implies a dependency of this job on the appropriate CoreCLR build | ||
# and is used to construct the name of the Azure artifact representing | ||
# CoreCLR build to use for building the libraries and library tests. | ||
liveCoreClrBuildConfig: '' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intention of this is to tell the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gotcha. @trylek consider adding a comment clarifying this. |
||
|
||
timeoutInMinutes: 150 | ||
preBuildSteps: [] | ||
container: '' | ||
|
@@ -22,12 +30,18 @@ jobs: | |
archType: ${{ parameters.archType }} | ||
framework: ${{ parameters.framework }} | ||
isOfficialBuild: ${{ parameters.isOfficialBuild }} | ||
liveCoreClrBuildConfig: ${{ parameters.liveCoreClrBuildConfig }} | ||
timeoutInMinutes: ${{ parameters.timeoutInMinutes }} | ||
preBuildSteps: ${{ parameters.preBuildSteps }} | ||
container: ${{ parameters.container }} | ||
pool: ${{ parameters.pool }} | ||
testScope: ${{ parameters.testScope }} | ||
stepName: Build | ||
name: build | ||
displayName: 'Build' | ||
|
||
${{ if ne(parameters.liveCoreClrBuildConfig, '') }}: | ||
dependsOn: | ||
- ${{ format('coreclr_product_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveCoreClrBuildConfig) }} | ||
|
||
variables: | ||
- _skipTestRestoreArg: /p:SkipTestRestore=true | ||
|
@@ -40,6 +54,8 @@ jobs: | |
- ${{ if ne(parameters.framework, 'allConfigurations') }}: | ||
- _skipTestRestoreArg: /p:SkipTestRestore=false | ||
|
||
- ${{ parameters.variables }} | ||
|
||
steps: | ||
- script: $(_buildScript) -restore $(_buildArguments) $(_skipTestRestoreArg) | ||
displayName: Restore | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to remove
netcoreapp
from the libraries build names when target framework is netcoreapp as libraries is the only subset that builds for other frameworks. That way we don't need to hard code it here. Something to consider on a follow up PR.