diff --git a/.github/workflows/on_main.yml b/.github/workflows/on_main.yml index dd24f7a..adf6ece 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 3673fd4..2ea5aed 100644 --- a/.github/workflows/on_pr.yml +++ b/.github/workflows/on_pr.yml @@ -21,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 diff --git a/.github/workflows/reusable_build.yml b/.github/workflows/reusable_build.yml index 7abcd98..f1db037 100644 --- a/.github/workflows/reusable_build.yml +++ b/.github/workflows/reusable_build.yml @@ -6,7 +6,7 @@ on: CIBW_BUILD: required: false type: string - default: "cp311-manylinux_x86_64 cp311-macosx_arm64" + default: "" jobs: build: diff --git a/.github/workflows/reusable_docs.yml b/.github/workflows/reusable_docs.yml index bc2c4aa..1ec087d 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 }} diff --git a/pyproject.toml b/pyproject.toml index d5c61b1..77ba882 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