[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
This commit is contained in:
xumia 2021-04-12 07:43:06 +08:00 committed by GitHub
parent e30a7eb6aa
commit 7df4c0ad7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -50,9 +50,9 @@ jobs:
platform_rpc: centec
- name: centec-arm64
pool: sonicbld_8c
timeoutInMinutes: 1800
variables:
arch: arm64
timeoutInMinutes: 1800
PLATFORM_ARCH: arm64
- name: generic
variables:
dbg_image: true
@ -61,9 +61,9 @@ jobs:
swi_image: true
- name: marvell-armhf
pool: sonicbld_8c
timeoutInMinutes: 1800
variables:
arch: armhf
timeoutInMinutes: 1800
PLATFORM_ARCH: armhf
- name: mellanox
variables:
dbg_image: true
@ -97,3 +97,4 @@ jobs:
fi
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).bin
fi
displayName: "Build sonic image"

View File

@ -33,7 +33,7 @@ jobs:
BUILD_OPTIONS="$(BUILD_OPTIONS) $CACHE_OPTIONS"
echo "##vso[task.setvariable variable=BUILD_OPTIONS]$BUILD_OPTIONS"
fi
displayName: "Make build options"
displayName: "Set cache options"
- checkout: self
submodules: recursive
displayName: 'Checkout code'