fix(ci): fix wheel version detection & windows wheel ci (#303)
This commit is contained in:
@@ -28,7 +28,9 @@ jobs:
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
fetch-tags: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python (for cibuildwheel controller)
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
name: Build and Test PyPi Wheels on Windows
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
workflow_call:
|
||||
inputs:
|
||||
publish_target:
|
||||
@@ -71,6 +69,8 @@ jobs:
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-tags: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cleanup left marker files
|
||||
run: |
|
||||
@@ -81,6 +81,11 @@ jobs:
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Set up MSVC environment
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
arch: x64
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
@@ -100,6 +105,11 @@ jobs:
|
||||
- name: Build wheels using cibuildwheel
|
||||
if: steps.cache-wheels.outputs.cache-hit != 'true'
|
||||
shell: powershell
|
||||
# env:
|
||||
# CIBW_BUILD_VERBOSITY: 1
|
||||
# CIBW_DEBUG_TRACEBACK: 1
|
||||
# CIBW_DEBUG_KEEP_CONTAINER: 1
|
||||
|
||||
run: |
|
||||
python -m cibuildwheel --output-dir wheelhouse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user