Skip to content

Commit

Permalink
Even better build
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg committed Aug 7, 2024
1 parent a95b474 commit 09455d0
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,18 @@ jobs:
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
os: ["ubuntu-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.19.2
if: matrix.os == 'ubuntu-latest'
env:
CIBW_SKIP: '*-musllinux_* pp*'
CIBW_ARCHS: auto64
CIBW_BEFORE_ALL_LINUX: bash build/linux_setup.sh
CIBW_ARCHS_LINUX: x86_64
CIBW_SKIP: '*-musllinux_*'

- name: Build wheels mac
uses: pypa/cibuildwheel@v2.19.2
if: matrix.os == 'macos-12'
env:
CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=10.14
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=12

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 09455d0

Please sign in to comment.