Skip to content

Commit

Permalink
[ci] Fix the wrong build options issue (sonic-net#7287)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xumia authored Apr 11, 2021
1 parent e30a7eb commit 7df4c0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -97,3 +97,4 @@ jobs:
fi
make $BUILD_OPTIONS target/sonic-$(GROUP_NAME).bin
fi
displayName: "Build sonic image"
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7df4c0a

Please sign in to comment.