From cba55a8f862824cbe7b9e5a96921321d660d8707 Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Thu, 13 Nov 2025 15:00:59 -0500 Subject: [PATCH 1/4] Clean up ci cibuildwheel selection --- .github/workflows/on_main.yml | 2 -- .github/workflows/on_pr.yml | 2 ++ .github/workflows/reusable_build.yml | 7 ++++++- pyproject.toml | 9 +++++++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/on_main.yml b/.github/workflows/on_main.yml index dd24f7a8..adf6ece1 100644 --- a/.github/workflows/on_main.yml +++ b/.github/workflows/on_main.yml @@ -48,8 +48,6 @@ jobs: name: Build uses: ./.github/workflows/reusable_build.yml secrets: inherit - with: - CIBW_BUILD: "cp*-manylinux_x86_64 cp*-macosx_arm64" # Upload wheels if a release was created upload: diff --git a/.github/workflows/on_pr.yml b/.github/workflows/on_pr.yml index 3673fd4f..2276c92b 100644 --- a/.github/workflows/on_pr.yml +++ b/.github/workflows/on_pr.yml @@ -10,6 +10,8 @@ jobs: name: Checks uses: ./.github/workflows/reusable_checks.yml secrets: inherit + with: + CIBW_BUILD: "cp311-*" # Rebuild docs to make sure nothing is broken docs: diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 7abcd986..c8bb5887 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -6,7 +6,12 @@ on: CIBW_BUILD: required: false type: string - default: "cp311-manylinux_x86_64 cp311-macosx_arm64" + default: "" + +# Allow only one build deployment at a time per branch +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/pyproject.toml b/pyproject.toml index d5c61b10..77ba8827 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,13 @@ VCPKG_INSTALLED_DIR = "./.vcpkg_installed" # VCPKG_INSTALL_OPTIONS = "--debug" [tool.cibuildwheel] -build = ["cp*-manylinux_x86_64", "cp*-macosx_arm64"] -skip = ["cp310-*", "cp3??t-*"] +skip = [ + "cp3??t-*", # skip free-threaded builds + "*musllinux*", # skip musl builds + "*win32", # skip 32-bit windows + "*macosx_x86_64", # skip intel mac builds + "*macosx_universal2", # skip universal2 mac builds +] test-requires = "pytest>=8.3.5 scipy>=1.15.2" test-command = "evalio ls pipelines && pytest {project}/tests" build-verbosity = 1 From c709a7f9841f45c4cc890c0f853aa502e4dd5f1e Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Thu, 13 Nov 2025 15:06:11 -0500 Subject: [PATCH 2/4] Move to correct spot --- .github/workflows/on_pr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on_pr.yml b/.github/workflows/on_pr.yml index 2276c92b..2ea5aedc 100644 --- a/.github/workflows/on_pr.yml +++ b/.github/workflows/on_pr.yml @@ -10,8 +10,6 @@ jobs: name: Checks uses: ./.github/workflows/reusable_checks.yml secrets: inherit - with: - CIBW_BUILD: "cp311-*" # Rebuild docs to make sure nothing is broken docs: @@ -23,4 +21,6 @@ jobs: build: name: Build uses: ./.github/workflows/reusable_build.yml - secrets: inherit \ No newline at end of file + secrets: inherit + with: + CIBW_BUILD: "cp311-*" \ No newline at end of file From 7158ce8fb66e77d1633a21aac780915fc8805ff6 Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Thu, 13 Nov 2025 15:10:00 -0500 Subject: [PATCH 3/4] Add concurrency to docs building as well --- .github/workflows/reusable_docs.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/reusable_docs.yml b/.github/workflows/reusable_docs.yml index bc2c4aaf..1ec087dd 100644 --- a/.github/workflows/reusable_docs.yml +++ b/.github/workflows/reusable_docs.yml @@ -12,6 +12,11 @@ on: type: boolean default: false +# Allow only one docs deployment at a time per branch/branch +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: docs: runs-on: ubuntu-latest @@ -52,6 +57,10 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + # Ensure docs build docs + - name: Build docs + run: uv run mkdocs build + # Deploy latest tag - name: Deploy docs if: ${{ inputs.deploy_latest }} From bf6ac02244061ef133ff0b20e17051d16fadecc9 Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Thu, 13 Nov 2025 15:40:52 -0500 Subject: [PATCH 4/4] Let builds happen in parallel --- .github/workflows/reusable_build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index c8bb5887..f1db037f 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -8,11 +8,6 @@ on: type: string default: "" -# Allow only one build deployment at a time per branch -concurrency: - group: ${{ github.ref }} - cancel-in-progress: true - jobs: build: runs-on: ${{ matrix.os }}