Skip to content

Update build_arm.yml #5

Update build_arm.yml

Update build_arm.yml #5

Workflow file for this run

name: Build ARM
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# - os: ubuntu-latest
# cibw_archs: "native"
- os: ubuntu-latest
cibw_archs: "aarch64"
# - os: windows-latest
# cibw_archs: "native ARM64"
# - os: macos-latest
# cibw_archs: "native arm64"
steps:
- name: Set up QEMU
if: matrix.cibw_archs == 'aarch64'
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: actions/checkout@v3
- uses: actions/[email protected]
name: Install Python
- name: Get submodules
run: git submodule update --init --recursive
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.cibw_archs }}
CIBW_SKIP: "pp*"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl