Skip to content

Commit 1f16614

Browse files
authored
Build wheels on ARM and in PR (#253)
1 parent 178c281 commit 1f16614

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build_wheels:
1212
name: ${{ matrix.os }}
1313
runs-on: ${{ matrix.os }}
14-
if: "contains(github.event.head_commit.message, 'build wheels') || github.event.head_commit.branch == 'master' "
14+
if: "contains(github.event.head_commit.message, 'build wheels')"
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -33,11 +33,6 @@ jobs:
3333
run: |
3434
python -m pip install cibuildwheel==1.10.0
3535
36-
- name: Install Visual C++ for Python 2.7
37-
if: startsWith(matrix.os, 'windows')
38-
run: |
39-
choco install vcpython27 -f -y
40-
4136
- name: Build wheels
4237
env:
4338
CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp*" # remove pypy on mac and win (wrong version)

.github/workflows/build_wheels_weekly.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ on:
44
workflow_dispatch:
55
schedule:
66
- cron: '30 0 * * 1'
7-
7+
push:
8+
branches:
9+
- "master"
10+
811
jobs:
912
build_wheels:
1013
name: ${{ matrix.os }}
@@ -30,11 +33,6 @@ jobs:
3033
run: |
3134
python -m pip install cibuildwheel==1.10.0
3235
33-
- name: Install Visual C++ for Python 2.7
34-
if: startsWith(matrix.os, 'windows')
35-
run: |
36-
choco install vcpython27 -f -y
37-
3836
- name: Set up QEMU
3937
if: runner.os == 'Linux'
4038
uses: docker/setup-qemu-action@v1

0 commit comments

Comments
 (0)