Skip to content

Commit 5894d9d

Browse files
committed
[Nova] Add Caller for Mac x86 Wheels
1 parent cba1c01 commit 5894d9d

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build Macos Wheels
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- nightly
8+
workflow_dispatch:
9+
10+
jobs:
11+
generate-matrix:
12+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
13+
with:
14+
package-type: wheel
15+
os: macos
16+
test-infra-repository: pytorch/test-infra
17+
test-infra-ref: main
18+
build:
19+
needs: generate-matrix
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
include:
24+
- repository: pytorch/vision
25+
pre-script: ""
26+
post-script: ""
27+
smoke-test-script: test/smoke_test.py
28+
package-name: torchvision
29+
name: ${{ matrix.repository }}
30+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
31+
with:
32+
repository: ${{ matrix.repository }}
33+
ref: ""
34+
test-infra-repository: pytorch/test-infra
35+
test-infra-ref: main
36+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
37+
pre-script: ${{ matrix.pre-script }}
38+
post-script: ${{ matrix.post-script }}
39+
package-name: ${{ matrix.package-name }}
40+
runner-type: macos-12
41+
smoke-test-script: ${{ matrix.smoke-test-script }}
42+
# Using "development" as trigger event so these binaries are not uploaded
43+
# to official channels yet
44+
trigger-event: development
45+
secrets:
46+
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
47+
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)