microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
79a348d2e840b66c1e4caa6d86546bf22fa72b4d

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/wheels_macos.yml

23lines · modepreview

jobs:
- job: macos
  timeoutInMinutes: 120
  pool: {vmImage: 'macOS-12'}
  variables:
    CIBW_BUILD: "cp3{8,9,10}-*"
    CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
    # Skip trying to test arm64 builds on Intel Macs
    # CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
    # Disable building PyPy wheels
    CIBW_SKIP: pp*

  steps:
    - task: UsePythonVersion@0
    - bash: |
        set -o errexit
        python3 -m pip install --upgrade pip
        python3 -m pip install cibuildwheel
      displayName: Install dependencies
    - bash: CPU_NUMBER=2 cibuildwheel --output-dir wheelhouse .
      displayName: Build wheels
    - task: PublishBuildArtifacts@1
      inputs: {pathtoPublish: wheelhouse}