fix windows build #1225
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Wheel MacOS | |
on: | |
push: | |
# branches: | |
# - main | |
# - 'releases/**' | |
pull_request: | |
# types: | |
# - closed | |
# branches: | |
# - main | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
# Used to host cibuildwheel | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install cibuildwheel | |
run: python -m pip install cibuildwheel | |
- name: python version | |
run: python -V | |
- name: Build wheels | |
run: python -m cibuildwheel --output-dir wheelhouse | |
continue-on-error: true | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl |