Skip to content

Commit

Permalink
[ci]: set -ex for official build to exit on any build failures
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <[email protected]>
  • Loading branch information
lguohan authored and liushilongbuaa committed Jun 15, 2021
1 parent 341e15b commit fa321f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .azure-pipelines/azure-pipelines-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,26 @@ jobs:
- name: vs
variables:
dbg_image: yes

- name: barefoot
variables:
sync_rpc_image: yes
swi_image: yes

- name: broadcom
variables:
dbg_image: yes
swi_image: yes
raw_image: yes
sync_rpc_image: yes
platform_rpc: brcm

- name: centec
variables:
dbg_image: yes
sync_rpc_image: yes
platform_rpc: centec

- name: centec-arm64
pool: sonicbld_8c
timeoutInMinutes: 2160
Expand All @@ -66,9 +70,11 @@ jobs:
- name: generic
variables:
dbg_image: yes

- name: innovium
variables:
swi_image: yes

- name: marvell-armhf
pool: sonicbld_8c
timeoutInMinutes: 2160
Expand All @@ -80,13 +86,16 @@ jobs:
dbg_image: yes
sync_rpc_image: yes
platform_rpc: mlnx

- name: nephos
variables:
dbg_image: yes
sync_rpc_image: yes
platform_rpc: nephos

buildSteps:
- bash: |
set -ex
if [ $(GROUP_NAME) == vs ]; then
if [ $(dbg_image) == yes ]; then
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz && mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
Expand Down

0 comments on commit fa321f1

Please sign in to comment.