From 27e8df7ac0b982cdc908066865ca490910a0c7cc Mon Sep 17 00:00:00 2001 From: Aaron Siegel <2014957+aaron-siegel@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:47:08 -0700 Subject: [PATCH] Add targets for Linux and Windows ARM wheels (#6) --- .github/workflows/build-and-test.yml | 18 +++++++++--------- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 11f6617..46d356f 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -16,26 +16,26 @@ jobs: matrix: include: - os: macos-12 - arch: x86_64 + cibw-archs: x86_64 deployment-target: '10.9' - os: macos-latest - arch: arm64 + cibw-archs: arm64 deployment-target: '11.0' - os: ubuntu-latest - arch: x86_64 + cibw-archs: x86_64 + deployment-target: '' + - os: ubuntu-arm64 + cibw-archs: aarch64 deployment-target: '' - # - os: ubuntu-arm64 - # arch: aarch64 - # deployment-target: '' - os: windows-2022 - arch: AMD64 + cibw-archs: 'AMD64 ARM64' deployment-target: '' steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 if: ${{ !startsWith(matrix.os, 'ubuntu') }} with: - python-version: '3.10' + python-version: '3.11' - uses: actions/setup-python@v4 if: ${{ startsWith(matrix.os, 'ubuntu') }} # for testing due to docker env issues @@ -78,7 +78,7 @@ jobs: hashFiles('Makefile', 'pgbuild/Makefile', '.github/workflows/build-and-test.yml') }} - name: Build wheels env: - CIBW_ARCHS: ${{ matrix.arch }} + CIBW_ARCHS: ${{ matrix.cibw-archs }} CIBW_SKIP: pp* cp313-* *-musllinux* MACOSX_DEPLOYMENT_TARGET: ${{ matrix.deployment-target }} run: python -m cibuildwheel --output-dir wheelhouse diff --git a/pyproject.toml b/pyproject.toml index b87a803..62befc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "pixeltable-pgserver" -version = "0.2.3" +version = "0.2.4" description = "Embedded Postgres Server for Pixeltable" readme = "README.md" requires-python = ">=3.9"