-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Build]: Enable arm pr check #9362
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
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 |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ resources: | |
| endpoint: build | ||
|
|
||
| stages: | ||
| - stage: Build | ||
| - stage: BuildVS | ||
| pool: sonicbld | ||
| variables: | ||
| CACHE_MODE: rcache | ||
|
|
@@ -43,10 +43,29 @@ stages: | |
| buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}' | ||
| jobGroups: | ||
| - name: vs | ||
|
|
||
| - stage: Build | ||
| pool: sonicbld | ||
| dependsOn: [] | ||
|
Collaborator
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. Is it fixing something? do we need it? #Closed
Collaborator
Author
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. @qiluo-msft , it is to declare the build stage does not depend on any other stage. |
||
| variables: | ||
| CACHE_MODE: rcache | ||
| ${{ if eq(variables['Build.SourceBranchName'], '202012') }}: | ||
| VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker' | ||
| jobs: | ||
| - template: .azure-pipelines/azure-pipelines-build.yml | ||
| parameters: | ||
| buildOptions: 'USERNAME=admin SONIC_BUILD_JOBS=$(nproc) ${{ variables.VERSION_CONTROL_OPTIONS }}' | ||
| jobGroups: | ||
| - name: broadcom | ||
| - name: mellanox | ||
| - name: marvell-armhf | ||
| pool: sonicbld-armhf | ||
| timeoutInMinutes: 1200 | ||
| variables: | ||
| PLATFORM_ARCH: armhf | ||
|
|
||
| - stage: Test | ||
| dependsOn: BuildVS | ||
| variables: | ||
| - name: inventory | ||
| value: veos_vtb | ||
|
|
||
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.
I see these lines repeated in below stage. Can we reuse?
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.
I can check if we can reuse it, it depends on if the variables can be used another variable in compiling time.