File tree Expand file tree Collapse file tree 5 files changed +25
-1
lines changed Expand file tree Collapse file tree 5 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 25
25
INSTALLATION_PYPI=${INSTALLATION_PYPI/ " index-url" / " extra-index-url" }
26
26
conda run -p ${ENV_NAME} _pypi ${INSTALLATION_PYPI}
27
27
conda run -p ${ENV_NAME} _pypi python ./test/smoke_test/smoke_test.py --package torchonly
28
- conda activate base
28
+ conda deactivate
29
29
conda env remove -p ${ENV_NAME} _pypi
30
30
fi
31
31
41
41
fi
42
42
43
43
python ./test/smoke_test/smoke_test.py
44
+ conda deactivate
45
+ conda env remove -n ${ENV_NAME}
44
46
fi
45
47
fi
Original file line number Diff line number Diff line change 22
22
default : " "
23
23
required : false
24
24
type : string
25
+ limit-win-builds :
26
+ description : " Limit windows builds to single python/cuda config"
27
+ default : " disable"
28
+ type : string
25
29
workflow_dispatch :
26
30
inputs :
27
31
os :
49
53
default : " "
50
54
required : false
51
55
type : string
56
+ limit-win-builds :
57
+ description : " Limit windows builds to single python/cuda config"
58
+ default : " disable"
59
+ required : false
60
+ type : string
52
61
53
62
jobs :
54
63
win :
57
66
with :
58
67
channel : ${{ inputs.channel }}
59
68
ref : ${{ inputs.ref || github.ref }}
69
+ limit-win-builds : ${{ inputs.limit-win-builds }}
60
70
61
71
linux :
62
72
if : inputs.os == 'linux' || inputs.os == 'all'
Original file line number Diff line number Diff line change 32
32
with :
33
33
channel : nightly
34
34
os : all
35
+ limit-win-builds : enable
Original file line number Diff line number Diff line change 32
32
with :
33
33
channel : release
34
34
os : all
35
+ limit-win-builds : enable
Original file line number Diff line number Diff line change 12
12
default : " "
13
13
required : false
14
14
type : string
15
+ limit-win-builds :
16
+ description : " Limit windows builds to single python/cuda config"
17
+ default : " disable"
18
+ type : string
15
19
workflow_dispatch :
16
20
inputs :
17
21
channel :
28
32
default : " "
29
33
required : false
30
34
type : string
35
+ limit-win-builds :
36
+ description : " Limit windows builds to single python/cuda config"
37
+ default : " disable"
38
+ required : false
39
+ type : string
31
40
32
41
jobs :
33
42
generate-windows-matrix :
36
45
package-type : all
37
46
os : windows
38
47
channel : ${{ inputs.channel }}
48
+ limit-win-builds : ${{ inputs.limit-win-builds }}
39
49
40
50
win :
41
51
needs : generate-windows-matrix
You can’t perform that action at this time.
0 commit comments