From ecf1d5875bfe95f12ef7acac00ff01fed041bb18 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 11 Jun 2024 01:45:14 -0400 Subject: [PATCH] ci: faster wheel builds Signed-off-by: Henry Schreiner --- .github/workflows/conda.yml | 2 +- .github/workflows/wheels.yml | 2 ++ pyproject.toml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 419f6cc..6416ae6 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-latest, macos-12, windows-latest] + platform: [ubuntu-latest, macos-12, windows-2019] python-version: ["3.8", "3.11"] runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5ee73b8..ba310e3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -51,6 +51,8 @@ jobs: with: submodules: true + - uses: yezz123/setup-uv@v4 + - uses: pypa/cibuildwheel@v2.19 env: CIBW_PRERELEASE_PYTHONS: true diff --git a/pyproject.toml b/pyproject.toml index c677757..b657b6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ testpaths = ["tests"] [tool.cibuildwheel] +build-frontend = "build[uv]" test-command = "pytest {project}/tests" test-extras = ["test"]