summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2021-05-27 14:27:27 +0200
committerGitHub <noreply@github.com>2021-05-27 14:27:27 +0200
commit1f16614954e2522fbdb1598c5b1f5c3630c68472 (patch)
tree5b179f2a9f5c6637f7a26286efdf7a15903e52b8
parent178c281fc91e014f5e148b7017430928d715de8c (diff)
Build wheels on ARM and in PR (#253)
-rw-r--r--.github/workflows/build_wheels.yml7
-rw-r--r--.github/workflows/build_wheels_weekly.yml10
2 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index b9f9f8d..53246ce 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -11,7 +11,7 @@ jobs:
build_wheels:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
- if: "contains(github.event.head_commit.message, 'build wheels') || github.event.head_commit.branch == 'master' "
+ if: "contains(github.event.head_commit.message, 'build wheels')"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -33,11 +33,6 @@ jobs:
run: |
python -m pip install cibuildwheel==1.10.0
- - name: Install Visual C++ for Python 2.7
- if: startsWith(matrix.os, 'windows')
- run: |
- choco install vcpython27 -f -y
-
- name: Build wheels
env:
CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp*" # remove pypy on mac and win (wrong version)
diff --git a/.github/workflows/build_wheels_weekly.yml b/.github/workflows/build_wheels_weekly.yml
index 5691d8c..32b697f 100644
--- a/.github/workflows/build_wheels_weekly.yml
+++ b/.github/workflows/build_wheels_weekly.yml
@@ -4,7 +4,10 @@ on:
workflow_dispatch:
schedule:
- cron: '30 0 * * 1'
-
+ push:
+ branches:
+ - "master"
+
jobs:
build_wheels:
name: ${{ matrix.os }}
@@ -30,11 +33,6 @@ jobs:
run: |
python -m pip install cibuildwheel==1.10.0
- - name: Install Visual C++ for Python 2.7
- if: startsWith(matrix.os, 'windows')
- run: |
- choco install vcpython27 -f -y
-
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v1