Skip to content

Commit 5a038d9

Browse files
committed
[Nova] Add Caller workflow for Linux Conda Builds
1 parent cb60e97 commit 5a038d9

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Build Linux 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: linux
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+
# TODO: Add smoke-test script once it's ready.
29+
package-name: torchvision
30+
name: ${{ matrix.repository }}
31+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
32+
with:
33+
conda-package-directory: ${{ matrix.conda-package-directory }}
34+
repository: ${{ matrix.repository }}
35+
test-infra-repository: pytorch/test-infra
36+
test-infra-ref: main
37+
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
38+
pre-script: ${{ matrix.pre-script }}
39+
post-script: ${{ matrix.post-script }}
40+
package-name: ${{ matrix.package-name }}
41+
# Using "development" as trigger event so these binaries are not uploaded
42+
# to official channels yet
43+
trigger-event: development
44+
secrets:
45+
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}

0 commit comments

Comments
 (0)