From b2d1cfb0f0267ee6dce68dced66eddb0cc697d3b Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Sat, 22 Jun 2024 16:54:31 -0700 Subject: [PATCH] More builds --- .github/workflows/python-build.yml | 28 ++++++++++++++-------------- pyproject.toml | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 80bda49..9013388 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -8,32 +8,32 @@ jobs: strategy: fail-fast: true matrix: - os: ["ubuntu-latest"] - python-version: ["3.10"] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v4 - name: Build wheels linux - uses: pypa/cibuildwheel@v2.12.2 + uses: pypa/cibuildwheel@v2.19.1 if: matrix.os == 'ubuntu-latest' env: CIBW_BEFORE_ALL_LINUX: bash build/linux_setup.sh - CIBW_ARCHS_LINUX: x86_64 + CIBW_ARCHS: auto64 CIBW_SKIP: '*-musllinux_*' - name: Build wheels mac - uses: pypa/cibuildwheel@v2.12.2 - if: matrix.os == 'macos-12' + uses: pypa/cibuildwheel@v2.19.1 + if: matrix.os in ('macos-13', 'macos-14') env: - CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=10.14 - CIBW_ARCHS_MACOS: x86_64 arm64 + CIBW_ARCHS: auto64 - - uses: actions/upload-artifact@v3 + - name: Build wheels windows + uses: pypa/cibuildwheel@v2.19.1 + if: matrix.os == 'windows-latest' + env: + CIBW_ARCHS: auto64 + + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl diff --git a/pyproject.toml b/pyproject.toml index 3959b27..0a6a7be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "meds_reader" dynamic = ["version"] description = "Optimized algorithms for meds_etl implemented in C++." -requires-python=">3.9" +requires-python="3.10" license = {text = "Apache-2.0"} [tool.setuptools_scm] \ No newline at end of file