Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test- Update build-wheels-windows.yml #8815

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions .github/workflows/build-wheels-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build Windows Wheels

on:
pull_request:
paths:
- .github/workflows/build-wheels-windows.yml
push:
branches:
- nightly
Expand All @@ -19,7 +21,7 @@ permissions:

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@test-ninja-build
with:
package-type: wheel
os: windows
Expand All @@ -39,7 +41,7 @@ jobs:
smoke-test-script: test/smoke_test.py
package-name: torchvision
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@test-ninja-build
with:
repository: ${{ matrix.repository }}
ref: ""
Expand Down
7 changes: 6 additions & 1 deletion packaging/pre_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
python_exec="$(which python)"
bin_path=$(dirname $python_exec)
cp "$bin_path/Library/bin/libjpeg.dll" torchvision

# issue with Building torchvision on py3.13
if [[ "$PYTHON_VERSION" == 3.13 ]]; then
mkdir -p build\\temp.win-amd64-cpython-313\\Release
fi
fi
else

Expand All @@ -38,5 +43,5 @@ else
pip install auditwheel
fi

pip install numpy pyyaml future ninja
pip install numpy pyyaml future
pip install --upgrade setuptools==72.1.0
Loading