Skip to content

Commit aab8d56

Browse files
committed
Update build pipeline to build for Bullseye
With the merge of sonic-net/sonic-buildimage#13294, docker-sonic-vs is now based on Bullseye. Switch to building for Bullseye to match that change. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
1 parent 92c8667 commit aab8d56

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.azure-pipelines/build-template.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,18 @@ jobs:
7474
sudo apt-get update
7575
sudo apt-get install -qq -y \
7676
qtbase5-dev \
77-
libdbus-glib-1-2 \
7877
libdbus-glib-1-dev \
7978
libpcsclite-dev \
8079
docbook-to-man \
8180
docbook-utils \
8281
aspell-en \
83-
libhiredis0.14 \
8482
libhiredis-dev \
8583
libnl-3-dev \
8684
libnl-genl-3-dev \
8785
libnl-route-3-dev \
8886
libnl-nf-3-dev \
8987
libnl-cli-3-dev \
90-
swig3.0 \
91-
libpython2.7-dev \
88+
swig4.0 \
9289
libzmq5 \
9390
libzmq3-dev \
9491
autoconf-archive
@@ -161,7 +158,7 @@ jobs:
161158
if [ '${{ parameters.asan }}' == True ]; then
162159
extraflags='--enable-asan'
163160
fi
164-
DEB_BUILD_OPTIONS=nocheck fakeroot debian/rules DEB_CONFIGURE_EXTRA_FLAGS=$extraflags CFLAGS="" CXXFLAGS="" binary-syncd-vs
161+
DEB_BUILD_OPTIONS=nocheck fakeroot debian/rules DEB_CONFIGURE_EXTRA_FLAGS=$extraflags DEB_BUILD_PROFILES=nopython2 CFLAGS="" CXXFLAGS="" binary-syncd-vs
165162
mv ../*.deb .
166163
displayName: "Compile sonic sairedis with coverage enabled"
167164
- script: |

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ resources:
3737
parameters:
3838
- name: debian_version
3939
type: string
40-
default: buster
40+
default: bullseye
4141
variables:
4242
- name: BUILD_BRANCH
4343
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:

0 commit comments

Comments
 (0)