From 777cfbb64bbc44176035ffafdbf33c0fa787e1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedek=20D=C3=A9v=C3=A9nyi?= Date: Tue, 24 Sep 2024 14:38:34 +0200 Subject: [PATCH] Fix failing CI builds (#7) --- .github/workflows/wheels.yml | 12 ++++++++---- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) 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"