Update and rename build_wheel.yml to build_wheels.yml
This commit is contained in:
parent
278e175d9b
commit
7faa7219ac
|
@ -1,25 +0,0 @@
|
||||||
build_wheels:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.10
|
|
||||||
|
|
||||||
- name: Setup pip
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
python -m pip install cibuildwheel==1.6.4
|
|
||||||
|
|
||||||
- name: Build wheel
|
|
||||||
run: python -m cibuildwheel --output-dir dist/
|
|
||||||
env:
|
|
||||||
CIBW_BUILD: cp36-* cp37-* cp38-*
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
path: ./dist/*.whl
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
name: build_wheels
|
||||||
|
run-name: ${{ github.actor }} is building wheels
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build_wheels:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.10
|
||||||
|
|
||||||
|
- name: Setup pip
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
python -m pip install cibuildwheel==1.6.4
|
||||||
|
|
||||||
|
- name: Build wheel
|
||||||
|
run: python -m cibuildwheel --output-dir dist/
|
||||||
|
env:
|
||||||
|
CIBW_BUILD: cp36-* cp37-* cp38-*
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: ./dist/*.whl
|
Loading…
Reference in New Issue