@@ -5,44 +5,13 @@ name: Validate domain libary
5
5
# For the details about parameter values, see:
6
6
# pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
7
7
on :
8
- workflow_dispatch :
9
- inputs :
10
- channel :
11
- description : " Channel to use (nightly, test, release, all)"
12
- required : true
13
- type : choice
14
- options :
15
- - release
16
- - nightly
17
- - test
18
- - all
19
- package-type :
20
- description : " Package type (conda, wheel, all)"
21
- required : true
22
- type : choice
23
- options :
24
- - conda
25
- - wheel
26
- - all
27
- repository :
28
- description : " Path to repository to checkout"
29
- required : true
30
- type : string
31
- smoke_test :
32
- description : " Path to a smoke test script"
33
- required : true
34
- type : string
35
- ref :
36
- description : ' Reference to checkout, defaults to empty'
37
- default : " "
38
- required : false
39
- type : string
40
8
workflow_call :
41
9
inputs :
42
10
os :
43
11
description : " Operating system to generate for (linux, windows, macos, macos-arm64)"
44
- required : true
12
+ required : false
45
13
type : string
14
+ default : " all"
46
15
channel :
47
16
description : " Channel to use (nightly, test, release, all)"
48
17
required : true
52
21
default : " "
53
22
required : false
54
23
type : string
55
- package-type :
24
+ package_type :
56
25
description : " Package type (conda, wheel, all)"
57
- required : true
26
+ required : false
58
27
type : string
28
+ default : " all"
59
29
repository :
60
30
description : " Path to repository to checkout"
61
31
required : true
@@ -89,12 +59,12 @@ jobs:
89
59
matrix : ${{ fromJson(needs.generate-linux-conda-matrix.outputs.matrix) }}
90
60
fail-fast : false
91
61
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
92
- name : " text -${{ matrix.package_type }}-${{ matrix.python_version }}"
62
+ name : " linux -${{ matrix.package_type }}-${{ matrix.python_version }}"
93
63
with :
94
64
runner : " linux.2xlarge"
95
65
repository : ${{ inputs.repository }}
96
66
ref : ${{ inputs.ref || github.ref }}
97
- job-name : " text -${{ matrix.package_type }}-${{ matrix.python_version }}"
67
+ job-name : " linux -${{ matrix.package_type }}-${{ matrix.python_version }}"
98
68
script : |
99
69
set -ex
100
70
export ENV_NAME="conda-env-${{ github.run_id }}"
@@ -110,12 +80,12 @@ jobs:
110
80
matrix : ${{ fromJson(needs.generate-linux-wheel-matrix.outputs.matrix) }}
111
81
fail-fast : false
112
82
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
113
- name : " text -${{ matrix.package_type }}-${{ matrix.python_version }}"
83
+ name : " linux -${{ matrix.package_type }}-${{ matrix.python_version }}"
114
84
with :
115
85
runner : " linux.2xlarge"
116
86
repository : ${{ inputs.repository }}
117
87
ref : ${{ inputs.ref || github.ref }}
118
- job-name : " text -${{ matrix.package_type }}-${{ matrix.python_version }}"
88
+ job-name : " linux -${{ matrix.package_type }}-${{ matrix.python_version }}"
119
89
script : |
120
90
set -ex
121
91
export ENV_NAME="conda-env-${{ github.run_id }}"
0 commit comments