Skip to content

Commit

Permalink
More builds
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg committed Jun 22, 2024
1 parent 8540b8f commit b2d1cfb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: matrix.os == 'windows-latest'
env:
CIBW_ARCHS: auto64

- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit b2d1cfb

Please sign in to comment.