Skip to content

Commit

Permalink
[ci]: use native arm64/armhf pool to build kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <lguohan@gmail.com>
  • Loading branch information
lguohan authored and saiarcot895 committed Nov 9, 2021
1 parent 56b08d0 commit 6ac9b48
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ parameters:
values:
- sonicbld
- sonicbld_8c
- sonicbld-arm64
- sonicbld-armhf
default: sonicbld

- name: timeout
Expand Down
29 changes: 14 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@ stages:
sonic_slave: sonic-slave-bullseye
artifact_name: sonic-linux-kernel

- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: .azure-pipelines/build-template.yml
parameters:
arch: armhf
timeout: 1440
pool: sonicbld_8c
sonic_slave: sonic-slave-bullseye-armhf
artifact_name: sonic-linux-kernel.armhf
- template: .azure-pipelines/build-template.yml
parameters:
arch: arm64
pool: sonicbld-arm64
sonic_slave: sonic-slave-bullseye-arm64
artifact_name: sonic-linux-kernel.arm64

- template: .azure-pipelines/build-template.yml
parameters:
arch: armhf
pool: sonicbld-armhf
sonic_slave: sonic-slave-bullseye-armhf
artifact_name: sonic-linux-kernel.armhf


- template: .azure-pipelines/build-template.yml
parameters:
arch: arm64
timeout: 1440
pool: sonicbld_8c
sonic_slave: sonic-slave-bullseye-arm64
artifact_name: sonic-linux-kernel.arm64

0 comments on commit 6ac9b48

Please sign in to comment.