Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 9deab43

Browse files
authored
Merge pull request #157 from isuruf/universal2-name
Fix universal2 wheel name and remove redundant builds
2 parents 2483f99 + 72f886c commit 9deab43

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

azure-pipelines.yml

-12
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,13 @@ jobs:
5555
MB_PYTHON_VERSION: "3.8"
5656
MB_PYTHON_OSX_VER: "10.9"
5757
PLAT: universal2
58-
osx-Py38_arm64:
59-
MB_PYTHON_VERSION: "3.8"
60-
MB_PYTHON_OSX_VER: "10.9"
61-
PLAT: arm64
6258
osx-Py39:
6359
MB_PYTHON_VERSION: "3.9"
6460
MB_PYTHON_OSX_VER: "10.9"
6561
osx-Py39-universal2:
6662
MB_PYTHON_VERSION: "3.9"
6763
MB_PYTHON_OSX_VER: "10.9"
6864
PLAT: universal2
69-
osx-Py39_arm64:
70-
MB_PYTHON_VERSION: "3.9"
71-
MB_PYTHON_OSX_VER: "10.9"
72-
PLAT: arm64
7365
osx-Py310:
7466
MB_PYTHON_VERSION: "3.10"
7567
MB_PYTHON_OSX_VER: "10.9"
@@ -78,7 +70,3 @@ jobs:
7870
MB_PYTHON_VERSION: "3.10"
7971
MB_PYTHON_OSX_VER: "10.9"
8072
PLAT: universal2
81-
osx-Py310_arm64:
82-
MB_PYTHON_VERSION: "3.10"
83-
MB_PYTHON_OSX_VER: "11.0"
84-
PLAT: arm64

azure-posix.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ jobs:
8686
set -xe
8787
for file in `find ./wheelhouse -type f -name '*11_0_arm64*.whl'`; do mv -v "$file" "${file/11_0_arm64/12_0_arm64}"; done
8888
displayName: "Rename MacOS arm64 wheels for version 12.0 minimum"
89-
condition: eq(variables['PLAT'], 'arm64')
89+
condition: or(eq(variables['PLAT'], 'arm64'), eq(variables['PLAT'], 'universal2'))
9090
9191
- bash: |
9292
set -xe
93-
for file in `find ./wheelhouse -type f -name '*10_9_universal2.whl'`; do mv -v "$file" "${file/10_9_universal2/12_0_universal2}"; done
93+
for file in `find ./wheelhouse -type f -name '*10_9_universal2.whl'`; do mv -v "$file" "${file/macosx_10_9_universal2/macosx_12_0_universal2.macosx_10_9_x86_64}"; done
9494
displayName: "Rename MacOS universal2 wheels for version 12.0 minimum"
9595
condition: eq(variables['PLAT'], 'universal2')
9696

0 commit comments

Comments
 (0)