Skip to content

Commit 5e8806f

Browse files
authored
[WIP] Update build_wheels to new version and allow force build in PR for debug (#236)
* add optional build wheels in PR * test if in build wheels * remove wheels builders * update build wheels et tets run
1 parent 9a301b5 commit 5e8806f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
release:
55
push:
66
branches:
7-
- "master"
7+
- "*"
88

99
jobs:
1010
build_wheels:
1111
name: ${{ matrix.os }}
1212
runs-on: ${{ matrix.os }}
13+
if: "contains(github.event.head_commit.message, 'build wheels') ||
14+
github.event.head_commit.branch == 'master' "
1315
strategy:
1416
matrix:
1517
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -30,7 +32,7 @@ jobs:
3032
3133
- name: Install cibuildwheel
3234
run: |
33-
python -m pip install cibuildwheel==1.3.0
35+
python -m pip install cibuildwheel==1.10.0
3436
3537
- name: Install Visual C++ for Python 2.7
3638
if: startsWith(matrix.os, 'windows')

0 commit comments

Comments
 (0)