Skip to content

add build wheels action #1

add build wheels action

add build wheels action #1

Workflow file for this run

name: Build wheels
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build_wheels:
name: Build wheels for ${{ matrix.platform-id }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-20.04
platform-id: manylinux_x86_64
- os: windows-2019
platform-id: win_amd64
- os: macos-latest
platform-id: macosx_x86_64
- os: macos-latest
platform-id: macosx_arm64
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp38-${{ matrix.platform-id }}
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl