diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 76b4510..b71bb4f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -1,6 +1,10 @@ name: Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: build_wheels: @@ -8,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-12, macos-13, macos-14] + os: [ubuntu-latest, windows-latest, macos-13, macos-14, macos-latest] steps: - uses: actions/checkout@v4 @@ -22,9 +26,9 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.16.5 + uses: pypa/cibuildwheel@v2.21.1 env: - CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x + CIBW_ARCHS_LINUX: auto CIBW_ARCHS_WINDOWS: all - uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index 8f38542..723be26 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ author = "The tksvg authors" url = "https://github.com/TkinterEP/tksvg" [tool.cibuildwheel] -skip = ["cp36-*", "cp37-*"] +skip = ["cp36-*", "cp37-*", "cp38-*", "pp*"] [tool.cibuildwheel.linux] before-all = "yum install -y tcl-devel tk-devel"