Skip to content

use cibuildwheel to do test #18

use cibuildwheel to do test

use cibuildwheel to do test #18

name: build-and-publish
on:
push:
branches: [testing]
tags: ['v*']
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "true"
- name: Build wheels and test
uses: pypa/[email protected]
env:
CIBW_BUILD: ${{ matrix.pyver }}-*
- name: Upload wheel artifacts
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.pyver }}-${{ strategy.job-index }}
path: wheelhouse/*