-
Notifications
You must be signed in to change notification settings - Fork 5k
Add installer build/test to the runtime.yml pipeline #705
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
Changes from all commits
d42fe76
8d642e6
8be6ae3
625126b
9937344
1055154
48ca424
4e23cd3
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
steps: | ||
- checkout: none | ||
clean: true | ||
|
||
- download: current | ||
artifact: Checkout_bundle | ||
displayName: Download Checkout.bundle | ||
|
||
- script: | | ||
$(setScriptToEchoAndFailOnNonZero) | ||
git clone $(Pipeline.Workspace)/Checkout_bundle/Checkout.bundle . | ||
git remote set-url origin $(Build.Repository.Uri) | ||
displayName: Clone the repository from Checkout.bundle |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
variables: | ||
safern marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: isOfficialBuild | ||
value: ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ jobs: | |
value: '\' | ||
- name: _msbuildCommand | ||
value: powershell -ExecutionPolicy ByPass -NoProfile eng\common\msbuild.ps1 -warnaserror:0 -ci | ||
- name: setScriptToEchoAndFailOnNonZero | ||
value: '' | ||
|
||
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}: | ||
- name: archiveExtension | ||
|
@@ -39,7 +41,10 @@ jobs: | |
value: '/' | ||
- name: _msbuildCommand | ||
value: ./eng/common/msbuild.sh --warnaserror false --ci | ||
|
||
# Set the bash script to display each command, and stop if any command exits nonzero. | ||
- name: setScriptToEchoAndFailOnNonZero | ||
value: 'set -xe' | ||
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. Don't we need separate Windows vs. Linux versions here? 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. We have them, it's just a no-op right now on Win a few lines up:
Don't know if it's possible to do this (or necessary) in batch. |
||
|
||
- ${{ if ne(parameters.jobParameters.crossrootfsDir, '') }}: | ||
# This is only required for cross builds. | ||
- name: ROOTFS_DIR | ||
|
@@ -48,6 +53,7 @@ jobs: | |
osGroup: ${{ parameters.osGroup }} | ||
osSubgroup: ${{ parameters.osSubgroup }} | ||
archType: ${{ parameters.archType }} | ||
platform: ${{ parameters.platform }} | ||
|
||
${{ if ne(parameters.container, '') }}: | ||
${{ if eq(parameters.container.registry, 'mcr') }}: | ||
|
@@ -94,4 +100,3 @@ jobs: | |
${{ if ne(parameters.helixQueuesTemplate, '') }}: | ||
jobTemplate: ${{ parameters.jobTemplate }} | ||
jobParameters: ${{ parameters.jobParameters }} | ||
platform: ${{ parameters.platform }} |
Uh oh!
There was an error while loading. Please reload this page.