File tree Expand file tree Collapse file tree 2 files changed +23
-20
lines changed Expand file tree Collapse file tree 2 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 58
58
type : string
59
59
default : llvm_sycl.tar.zst
60
60
61
- pack_release :
61
+ release_toolchain_artifact :
62
62
type : string
63
63
required : false
64
+ description : |
65
+ If provided, create an additional toolchain artifact without utilities
66
+ used for testing in it. File name of the archive is the same as in the
67
+ `toolchain_artifact` above.
64
68
65
69
e2e_binaries_artifact :
66
70
type : string
@@ -117,18 +121,15 @@ on:
117
121
options :
118
122
- " default"
119
123
120
- toolchain_artifact :
121
- type : choice
122
- options :
123
- - " sycl_linux_default"
124
124
retention-days :
125
125
type : choice
126
126
options :
127
127
- 3
128
128
129
- pack_release :
130
- type : string
131
- required : false
129
+ toolchain_artifact :
130
+ type : choice
131
+ options :
132
+ - " sycl_linux_default"
132
133
133
134
permissions : read-all
134
135
@@ -272,13 +273,13 @@ jobs:
272
273
cmake --build $GITHUB_WORKSPACE/build --target deploy-sycl-toolchain
273
274
274
275
- name : Pack toolchain release
275
- if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true ' }}
276
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != ' ' }}
276
277
run : tar -I '${{ steps.artifact_info.outputs.COMPRESS }}' -cf ${{ steps.artifact_info.outputs.ARCHIVE_NAME }} -C $GITHUB_WORKSPACE/toolchain .
277
278
- name : Upload toolchain release
278
- if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true ' }}
279
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != ' ' }}
279
280
uses : actions/upload-artifact@v4
280
281
with :
281
- name : sycl_linux_release
282
+ name : ${{ inputs.release_toolchain_artifact }}
282
283
path : ${{ steps.artifact_info.outputs.ARCHIVE_NAME }}
283
284
retention-days : ${{ inputs.retention-days }}
284
285
Original file line number Diff line number Diff line change 37
37
toolchain_artifact_filename :
38
38
type : string
39
39
default : llvm_sycl.tar.gz
40
- e2e_binaries_artifact :
40
+
41
+ release_toolchain_artifact :
41
42
type : string
42
43
required : false
44
+ description : |
45
+ If provided, create an additional toolchain artifact without utilities
46
+ used for testing in it. File name of the archive is the same as in the
47
+ `toolchain_artifact` above.
43
48
44
- pack_release :
49
+ e2e_binaries_artifact :
45
50
type : string
46
51
required : false
47
52
86
91
options :
87
92
- cl
88
93
- icx
89
- pack_release :
90
- type : string
91
- required : false
92
-
94
+
93
95
permissions : read-all
94
96
95
97
jobs :
@@ -206,13 +208,13 @@ jobs:
206
208
cmake --build build --target deploy-sycl-toolchain
207
209
208
210
- name : Pack toolchain release
209
- if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true ' }}
211
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != ' ' }}
210
212
run : tar -czf ${{ inputs.toolchain_artifact_filename }} -C install .
211
213
- name : Upload toolchain release
212
- if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true ' }}
214
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.release_toolchain_artifact != ' ' }}
213
215
uses : actions/upload-artifact@v4
214
216
with :
215
- name : sycl_windows_release
217
+ name : ${{ inputs.release_toolchain_artifact }}
216
218
path : ${{ inputs.toolchain_artifact_filename }}
217
219
retention-days : ${{ inputs.retention-days }}
218
220
You can’t perform that action at this time.
0 commit comments