Skip to content

Commit 7df4c0a

Browse files
authored
[ci] Fix the wrong build options issue (#7287)
Why I did it Fix the wrong build options and improve display name for some tasks 1. Fix the wrong build architecture for arm64 and armhf 2. Fix the build timeout parameter
1 parent e30a7eb commit 7df4c0a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.azure-pipelines/azure-pipelines-build.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
platform_rpc: centec
5151
- name: centec-arm64
5252
pool: sonicbld_8c
53+
timeoutInMinutes: 1800
5354
variables:
54-
arch: arm64
55-
timeoutInMinutes: 1800
55+
PLATFORM_ARCH: arm64
5656
- name: generic
5757
variables:
5858
dbg_image: true
@@ -61,9 +61,9 @@ jobs:
6161
swi_image: true
6262
- name: marvell-armhf
6363
pool: sonicbld_8c
64+
timeoutInMinutes: 1800
6465
variables:
65-
arch: armhf
66-
timeoutInMinutes: 1800
66+
PLATFORM_ARCH: armhf
6767
- name: mellanox
6868
variables:
6969
dbg_image: true
@@ -97,3 +97,4 @@ jobs:
9797
fi
9898
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).bin
9999
fi
100+
displayName: "Build sonic image"

.azure-pipelines/azure-pipelines-image-template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
BUILD_OPTIONS="$(BUILD_OPTIONS) $CACHE_OPTIONS"
3434
echo "##vso[task.setvariable variable=BUILD_OPTIONS]$BUILD_OPTIONS"
3535
fi
36-
displayName: "Make build options"
36+
displayName: "Set cache options"
3737
- checkout: self
3838
submodules: recursive
3939
displayName: 'Checkout code'

0 commit comments

Comments
 (0)