Skip to content

Commit

Permalink
- continuing on MacOS wheels;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed May 3, 2024
1 parent 1838e01 commit 2928d66
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
strategy:
matrix:
python_version: ['3.8', '3.9', '3.10'] # The 3.10 builds use abi3, so are good for Python 3.10+
# os: ['ubuntu-latest', 'macos-13', 'windows-latest']
os: ['macos-14']
# include:
# - os: ubuntu-latest
# container: quay.io/pypa/manylinux2014_x86_64 # https://github.com/pypa/manylinux
# # From 3.12 onwards we're a "pure Python" package; also, only one needs to upload sources
# - python_version: 3.12
# os: ubuntu-latest
# container: ''
# upload_source: true
# retaining MacOS 13 build in case the MacOS 14 doesn't work on it (need to test it out)
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
include:
- os: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64 # https://github.com/pypa/manylinux
# From 3.12 onwards we're a "pure Python" package; also, only one needs to upload sources
- python_version: 3.12
os: ubuntu-latest
container: ''
upload_source: true

steps:
- uses: actions/checkout@v3
Expand All @@ -61,9 +61,11 @@ jobs:
name: devN

- name: select Xcode version
# MacOS > 14.2 requires Xcode >= 15.3; otherwise loading native extension modules fails with e.g.:
# dlopen(/opt/homebrew/lib/python3.11/site-packages/slipcover/probe.abi3.so, 0x0002): bad bind opcode 0x00
if: startsWith(matrix.os, 'macos-')
run: |
sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
if [ -d /Applications/Xcode_15.3.app/Contents/Developer ]; then sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer; fi
clang++ --version
g++ --version
Expand Down

0 comments on commit 2928d66

Please sign in to comment.