Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,26 @@ jobs:
else
${CONDA_RUN} ${ENV_SCRIPT} python setup.py bdist_wheel ${BUILD_PARAMS}
fi
- name: Build the wheel (bdist_wheel) Arm64
if: inputs.architecture == 'arm64'
- name: Build the wheel (python-build-package) Arm64
if: ${{ inputs.build-platform == 'python-build-package' && inputs.architecture == 'arm64' }}
env:
SRC_DIR: ${{ inputs.repository }}
DEPENDENCIES_DIR: c:\temp\dependencies\
shell: cmd
run: |
set CONDA_PREFIX=%DEPENDENCIES_DIR%
set PATH=%PATH%;%DEPENDENCIES_DIR%\Library\bin
set DISTUTILS_USE_SDK=1
set VS_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat

call "%VS_PATH%" arm64
cd %SRC_DIR%
call .venv\Scripts\activate.bat

pip install --upgrade setuptools==72.1.0 build==1.2.2
{{ inputs.build-command }}
- name: Build the wheel (setup-py) Arm64
if: ${{ inputs.build-platform == 'setup-py' && inputs.architecture == 'arm64' }}
env:
SRC_DIR: ${{ inputs.repository }}
DEPENDENCIES_DIR: c:\temp\dependencies\
Expand Down