Skip to content

Commit

Permalink
Fix the Linux and MacOS wheel build for packaging issues (#727)
Browse files Browse the repository at this point in the history
* Update wheels_macos.yml

* remove mulslinux support

* Update wheels_linux.yml

* Update wheels_linux.yml

* remove appcenter testing
  • Loading branch information
wenbingl authored and yihonglyu committed May 24, 2024
1 parent b988f0d commit 8d8670f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .pipelines/android_packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,6 @@ jobs:
./gradlew connectedDebugAndroidTest --no-daemon -DortExtensionsAarLocalPath="${ORT_EXTENSIONS_AAR_PATH}"
displayName: Build and run onnxruntime-extensions Android test with Android Emulator
- script: |
set -e -x
appcenter test run espresso \
--app "AI-Frameworks/Ort-Ext-Mobile-Android-Testapp" \
--devices $(app_center_android_test_devices) \
--app-path $(Build.BinariesDirectory)/android_test/app/build/outputs/apk/debug/app-debug.apk \
--test-series "master" \
--locale "en_US" \
--build-dir $(Build.BinariesDirectory)/android_test/app/build/outputs/apk/androidTest/debug \
--token $(app_center_api_token)
displayName: Run onnxruntime-extensions Android test using App Center
- bash: |
set -e -x
Expand Down
3 changes: 2 additions & 1 deletion .pipelines/wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
pool: {name: 'Azure-Pipelines-EO-Ubuntu-2004-aiinfra'}
variables:
CIBW_BUILD: "cp3{8,9,10,11,12}-*"
CIBW_SKIP: "*musllinux*"
CIBW_ENVIRONMENT: "${{ parameters.ExtraEnv }}"

steps:
Expand All @@ -30,7 +31,7 @@ jobs:
pool: {name: 'Azure-Pipelines-EO-Ubuntu-2004-aiinfra'}
variables:
CIBW_BUILD: "cp3{8,9,10,11,12}-*"
CIBW_SKIP: "*musllinux_aarch64*"
CIBW_SKIP: "*musllinux_*"
# AzureOp doesn't support aaarch64 yet.
# CIBW_ENVIRONMENT: "${{ parameters.ExtraEnv }}"

Expand Down
1 change: 1 addition & 0 deletions .pipelines/wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
variables:
CIBW_BUILD: "cp3{8,9,10,11,12}-*"
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ENVIRONMENT: "MACOSX_DEPLOYMENT_TARGET=11.0"
# Skip trying to test arm64 builds on Intel Macs
# CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
# Disable building PyPy wheels
Expand Down

0 comments on commit 8d8670f

Please sign in to comment.