-
Notifications
You must be signed in to change notification settings - Fork 80
104 lines (102 loc) · 3.7 KB
/
trigger_nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
name: Trigger nightly builds for domains
on:
schedule:
# every night at 11:30AM UTC, 7:30AM EST, 4:30AM PST
- cron: 30 11 * * *
workflow_dispatch:
inputs:
domain:
description: "What domain to trigger"
required: false
type: choice
default: all
options:
- vision
- audio
- text
- torchrec
- tensorrt
- data
- fbgemm
- executorch
- torchtune
- all
jobs:
trigger:
runs-on: ubuntu-latest
environment: trigger-nightly
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Trigger nightly audio build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'audio' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/audio
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: audio
- name: Trigger nightly data build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'data' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/data
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: data
- name: Trigger nightly text build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'text' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/text
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: text
- name: Trigger nightly vision build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'vision' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/vision
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: vision
- name: Trigger nightly torchrec build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'torchrec' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/torchrec
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: torchrec
- name: Trigger nightly tensorrt build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'tensorrt' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/tensorrt
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: tensorrt
- name: Trigger nightly fbgemm build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'fbgemm' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/fbgemm
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: fbgemm
- name: Trigger nightly executorch build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'executorch' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: viable/strict
repository: pytorch/executorch
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: executorch
- name: Trigger nightly torchtune build
if: ${{ github.event_name == 'schedule' || inputs.domain == 'torchtune' || inputs.domain == 'all' }}
uses: ./.github/actions/trigger-nightly
with:
ref: main
repository: pytorch/torchtune
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
path: torchtune