Skip to content

Commit 72f0dfe

Browse files
committed
Build universal2 wheels for macos
1 parent 61fadcc commit 72f0dfe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version: ["3.10", "3.11", "3.12", "3.13"]
21-
os: [ubuntu-22.04, macos-13]
21+
os: [ubuntu-22.04, macos-15]
2222
platform: [x64]
2323
env:
2424
REPO_DIR: httpstan
@@ -53,9 +53,7 @@ jobs:
5353
pip install virtualenv
5454
- name: Set multibuild environment variables
5555
run: |
56-
if [ "macos-11" == "${{ matrix.os }}" ]; then echo "PLAT=x86_64" >> $GITHUB_ENV; fi
57-
if [ "macos-11" == "${{ matrix.os }}" ]; then echo "ARCHFLAGS=-arch x86_64" >> $GITHUB_ENV; fi
58-
if [ "macos-11" == "${{ matrix.os }}" ]; then echo "MB_PYTHON_OSX_VER=10.9" >> $GITHUB_ENV; fi
56+
if [ "macos-15" == "${{ matrix.os }}" ]; then echo "PLAT=universal2" >> $GITHUB_ENV; fi
5957
- name: Use most recent tag as BUILD_COMMIT
6058
run: echo "BUILD_COMMIT=$(cd httpstan && git tag --sort version:refname | tail -1)" >> $GITHUB_ENV
6159
- name: Print environment variables

0 commit comments

Comments
 (0)