@@ -5,44 +5,13 @@ name: Validate domain libary
55# For the details about parameter values, see:
66# pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
77on :
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
408 workflow_call :
419 inputs :
4210 os :
4311 description : " Operating system to generate for (linux, windows, macos, macos-arm64)"
44- required : true
12+ required : false
4513 type : string
14+ default : " all"
4615 channel :
4716 description : " Channel to use (nightly, test, release, all)"
4817 required : true
5221 default : " "
5322 required : false
5423 type : string
55- package-type :
24+ package_type :
5625 description : " Package type (conda, wheel, all)"
57- required : true
26+ required : false
5827 type : string
28+ default : " all"
5929 repository :
6030 description : " Path to repository to checkout"
6131 required : true
@@ -89,12 +59,12 @@ jobs:
8959 matrix : ${{ fromJson(needs.generate-linux-conda-matrix.outputs.matrix) }}
9060 fail-fast : false
9161 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 }}"
9363 with :
9464 runner : " linux.2xlarge"
9565 repository : ${{ inputs.repository }}
9666 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 }}"
9868 script : |
9969 set -ex
10070 export ENV_NAME="conda-env-${{ github.run_id }}"
@@ -110,12 +80,12 @@ jobs:
11080 matrix : ${{ fromJson(needs.generate-linux-wheel-matrix.outputs.matrix) }}
11181 fail-fast : false
11282 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 }}"
11484 with :
11585 runner : " linux.2xlarge"
11686 repository : ${{ inputs.repository }}
11787 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 }}"
11989 script : |
12090 set -ex
12191 export ENV_NAME="conda-env-${{ github.run_id }}"
0 commit comments