diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_wheels.yml | 7 | ||||
-rw-r--r-- | .github/workflows/build_wheels_weekly.yml | 10 |
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 |