Skip to content

Commit b564870

Browse files
author
Sayan Shaw
committed
update azure pipeline
1 parent 9539fb3 commit b564870

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tools/ci_build/github/azure-pipeline/templates/build-package-for-linux.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ jobs:
4545
submodules: none
4646

4747
- bash: |
48-
sudo apt-get update
49-
sudo apt-get install -y libssh-dev
48+
if [ "${{parameters.OrtExtensionsArch}}" == "x64" ]; then
49+
sudo apt-get update
50+
sudo apt-get install -y libssh-dev
51+
else
52+
sudo dnf update
53+
sudo dnf install -y libssh-devel
54+
fi
5055
displayName: Install OpenSSL for Azure custom ops
5156
5257
# NOTE: on arm64 machine, CMake version needs to be updated since we now require CMake 3.28 or newer.
@@ -59,7 +64,7 @@ jobs:
5964
displayName: 'build onnxruntime-extensions and run tests'
6065
- ${{ else }}:
6166
- bash: |
62-
sudo apt remove cmake
67+
sudo dnf remove cmake
6368
pip install cmake --upgrade
6469
export PATH=~/.local/bin:$PATH
6570
cmake --version

0 commit comments

Comments
 (0)