Skip to content
name: Build ExecutorchCoreML Wheel
on:
push:
branches:
- feature/coreml_whl
jobs:
Build-coreml-wheel:
runs-on: macos-latest
environment: prod-deploy
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Setup for CoreML delegate
shell: bash
run: ./executorch/backends/apple/coreml/scripts/install_requirements.sh
- name: Install Setup Tools
shell: bash
run: python -m pip install --upgrade pip setuptools wheel
- name: Build ExecutorchCoreML Wheel
shell: bash
working-directory: executorch/backends/apple/coreml/runtime/inmemoryfs
run: ls -al && \
python setup.py bdist_wheel --dist-dir=../../../../../../executorchcoreml-wheel
- name: Upload Built Wheel
uses: actions/upload-artifact@v4
with:
name: executorchcoreml-wheel