File tree Expand file tree Collapse file tree 2 files changed +54
-3
lines changed Expand file tree Collapse file tree 2 files changed +54
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Windows ARM64 Wheels
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - .github/workflows/build_wheel_windows_arm64.yml
7
+ push :
8
+ branches :
9
+ - nightly
10
+ - release/*
11
+ tags :
12
+ # NOTE: Binary build pipelines should only get triggered on release candidate builds
13
+ # Release candidate tags look like: v1.11.0-rc1
14
+ - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
15
+ workflow_dispatch :
16
+
17
+ permissions :
18
+ id-token : write
19
+ contents : read
20
+
21
+ jobs :
22
+ generate-matrix :
23
+ uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
24
+ with :
25
+ package-type : wheel
26
+ os : windows-arm64
27
+ test-infra-repository : pytorch/test-infra
28
+ test-infra-ref : main
29
+ with-cuda : disable
30
+
31
+ build :
32
+ needs : generate-matrix
33
+ strategy :
34
+ fail-fast : false
35
+ matrix :
36
+ include :
37
+ - repository : pytorch/vision
38
+ smoke-test-script : test/smoke_test.py
39
+ pre-script : packaging/pre_build_script_arm64.sh
40
+ package-name : torchvision
41
+ architecture : " arm64"
42
+ name : ${{ matrix.repository }}
43
+ uses : pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
44
+ with :
45
+ repository : ${{ matrix.repository }}
46
+ ref : " "
47
+ test-infra-repository : pytorch/test-infra
48
+ test-infra-ref : main
49
+ pre-script : ${{ matrix.pre-script }}
50
+ build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
51
+ package-name : ${{ matrix.package-name }}
52
+ smoke-test-script : ${{ matrix.smoke-test-script }}
53
+ trigger-event : ${{ github.event_name }}
54
+ architecture : ${{ matrix.architecture }}
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ echo "Building vision dependencies and wheel started."
6
6
export SRC_PATH=" $GITHUB_WORKSPACE /$SRC_DIR "
7
7
export CMAKE_BUILD_TYPE=" $BUILD_TYPE "
8
8
export VCVARSALL_PATH=" $DEPENDENCIES_DIR /VSBuildTools/VC/Auxiliary/Build/vcvarsall.bat"
9
- export CONDA_PREFIX=" $DEPENDENCIES_DIR "
10
- export PATH=" $PATH :$CONDA_PREFIX /Library/bin"
11
- export DISTUTILS_USE_SDK=1
12
9
export TRIPLET_FILE=" triplets/arm64-windows.cmake"
13
10
export PYTORCH_VERSION=" $PYTORCH_VERSION "
14
11
export CHANNEL=" $CHANNEL "
You can’t perform that action at this time.
0 commit comments