@@ -127,74 +127,74 @@ jobs:
127127 name : LinuxWheel3${{ matrix.python3-minor-version }}${{ matrix.manylinux-platform }}
128128 path : dist/*.whl
129129
130- build-macos-py :
131- runs-on : macos-12
132- strategy :
133- max-parallel : 2
134- matrix :
135- python3-minor-version : ${{ fromJSON(inputs.python3-minor-versions) }}
136-
137- steps :
138- - uses : actions/checkout@v3
139-
140- - name : ' Specific XCode version'
141- run : |
142- sudo xcode-select -s "/Applications/Xcode_13.2.1.app"
143-
144- - name : Get specific version of CMake, Ninja
145- uses : lukka/get-cmake@v3.29.0
146-
147- - name : ' Fetch build script'
148- run : |
149- IPP_DOWNLOAD_GIT_TAG=${{ inputs.itk-python-package-tag }}
150- IPP_DOWNLOAD_ORG=${{ inputs.itk-python-package-org }}
151- curl -L https://raw.githubusercontent.com/${IPP_DOWNLOAD_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${IPP_DOWNLOAD_GIT_TAG:=master}/scripts/macpython-download-cache-and-build-module-wheels.sh -O
152- chmod u+x macpython-download-cache-and-build-module-wheels.sh
153-
154- - name : ' Build 🐍 Python 📦 package'
155- shell : bash
156- run : |
157- rm -rf dist
158-
159- export ITK_PACKAGE_VERSION=${{ inputs.itk-wheel-tag }}
160- export ITKPYTHONPACKAGE_TAG=${{ inputs.itk-python-package-tag }}
161- export ITKPYTHONPACKAGE_ORG=${{ inputs.itk-python-package-org }}
162- export ITK_MODULE_PREQ=${{ inputs.itk-module-deps }}
163- export MACOSX_DEPLOYMENT_TARGET=10.9
164- if [ -z ${{ inputs.cmake-options }} ]; then
165- CMAKE_OPTIONS=""
166- else
167- CMAKE_OPTIONS="--cmake_options ${{ inputs.cmake-options }}"
168- fi
169- ./macpython-download-cache-and-build-module-wheels.sh $CMAKE_OPTIONS "3.${{ matrix.python3-minor-version }}"
170-
171- - name : Set up Python 3.11 for Validation
172- uses : actions/setup-python@v5
173- with :
174- python-version : " 3.11"
175-
176- - name : Validate build output
177- shell : bash
178- run : |
179- python -m pip install twine
180- ls dist/
181-
182- WHEEL_PATTERN="dist/itk_*macosx*.whl"
183- EXPECTED_WHEEL_COUNT=1
184-
185- WHEEL_COUNT=`(ls ${WHEEL_PATTERN} | wc -l)`
186- if (( ${WHEEL_COUNT} != ${EXPECTED_WHEEL_COUNT} )); then
187- echo "Expected ${EXPECTED_WHEEL_COUNT} wheels but found ${WHEEL_COUNT}"
188- exit 1
189- fi
190-
191- python -m twine check ${WHEEL_PATTERN}
192-
193- - name : Publish Python package as GitHub Artifact
194- uses : actions/upload-artifact@v4
195- with :
196- name : MacOSWheel3${{ matrix.python3-minor-version }}
197- path : dist/*.whl
130+ # build-macos-py:
131+ # runs-on: macos-12
132+ # strategy:
133+ # max-parallel: 2
134+ # matrix:
135+ # python3-minor-version: ${{ fromJSON(inputs.python3-minor-versions) }}
136+
137+ # steps:
138+ # - uses: actions/checkout@v3
139+
140+ # - name: 'Specific XCode version'
141+ # run: |
142+ # sudo xcode-select -s "/Applications/Xcode_13.2.1.app"
143+
144+ # - name: Get specific version of CMake, Ninja
145+ # uses: lukka/get-cmake@v3.29.0
146+
147+ # - name: 'Fetch build script'
148+ # run: |
149+ # IPP_DOWNLOAD_GIT_TAG=${{ inputs.itk-python-package-tag }}
150+ # IPP_DOWNLOAD_ORG=${{ inputs.itk-python-package-org }}
151+ # curl -L https://raw.githubusercontent.com/${IPP_DOWNLOAD_ORG:=InsightSoftwareConsortium}/ITKPythonPackage/${IPP_DOWNLOAD_GIT_TAG:=master}/scripts/macpython-download-cache-and-build-module-wheels.sh -O
152+ # chmod u+x macpython-download-cache-and-build-module-wheels.sh
153+
154+ # - name: 'Build 🐍 Python 📦 package'
155+ # shell: bash
156+ # run: |
157+ # rm -rf dist
158+
159+ # export ITK_PACKAGE_VERSION=${{ inputs.itk-wheel-tag }}
160+ # export ITKPYTHONPACKAGE_TAG=${{ inputs.itk-python-package-tag }}
161+ # export ITKPYTHONPACKAGE_ORG=${{ inputs.itk-python-package-org }}
162+ # export ITK_MODULE_PREQ=${{ inputs.itk-module-deps }}
163+ # export MACOSX_DEPLOYMENT_TARGET=10.9
164+ # if [ -z ${{ inputs.cmake-options }} ]; then
165+ # CMAKE_OPTIONS=""
166+ # else
167+ # CMAKE_OPTIONS="--cmake_options ${{ inputs.cmake-options }}"
168+ # fi
169+ # ./macpython-download-cache-and-build-module-wheels.sh $CMAKE_OPTIONS "3.${{ matrix.python3-minor-version }}"
170+
171+ # - name: Set up Python 3.11 for Validation
172+ # uses: actions/setup-python@v5
173+ # with:
174+ # python-version: "3.11"
175+
176+ # - name: Validate build output
177+ # shell: bash
178+ # run: |
179+ # python -m pip install twine
180+ # ls dist/
181+
182+ # WHEEL_PATTERN="dist/itk_*macosx*.whl"
183+ # EXPECTED_WHEEL_COUNT=1
184+
185+ # WHEEL_COUNT=`(ls ${WHEEL_PATTERN} | wc -l)`
186+ # if (( ${WHEEL_COUNT} != ${EXPECTED_WHEEL_COUNT} )); then
187+ # echo "Expected ${EXPECTED_WHEEL_COUNT} wheels but found ${WHEEL_COUNT}"
188+ # exit 1
189+ # fi
190+
191+ # python -m twine check ${WHEEL_PATTERN}
192+
193+ # - name: Publish Python package as GitHub Artifact
194+ # uses: actions/upload-artifact@v4
195+ # with:
196+ # name: MacOSWheel3${{ matrix.python3-minor-version }}
197+ # path: dist/*.whl
198198
199199 build-macos-arm-py :
200200 runs-on : macos-14
@@ -395,9 +395,9 @@ jobs:
395395 publish-python-packages-to-pypi :
396396 needs :
397397 - build-linux-py
398- - build-macos-py
399398 - build-macos-arm-py
400399 - build-windows-python-packages
400+ # - build-macos-py
401401 runs-on : ubuntu-22.04
402402
403403 steps :
0 commit comments