Skip to content

Commit 4f3a000

Browse files
authored
[Nova] Add Caller for Mac x86 Conda Bianries (#6866)
1 parent 95b594e commit 4f3a000

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Macos Conda
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: conda
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+
conda-package-directory: packaging/torchvision
28+
smoke-test-script: test/smoke_test.py
29+
package-name: torchvision
30+
name: ${{ matrix.repository }}
31+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
32+
with:
33+
conda-package-directory: ${{ matrix.conda-package-directory }}
34+
repository: ${{ matrix.repository }}
35+
ref: ""
36+
test-infra-repository: pytorch/test-infra
37+
test-infra-ref: main
38+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
39+
pre-script: ${{ matrix.pre-script }}
40+
post-script: ${{ matrix.post-script }}
41+
package-name: ${{ matrix.package-name }}
42+
smoke-test-script: ${{ matrix.smoke-test-script }}
43+
runner-type: macos-12
44+
# Using "development" as trigger event so these binaries are not uploaded
45+
# to official channels yet
46+
trigger-event: development
47+
secrets:
48+
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}

0 commit comments

Comments
 (0)