File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 29
29
type : string
30
30
required : false
31
31
default : " cl"
32
+ pack_release :
33
+ type : string
34
+ required : false
32
35
33
36
outputs :
34
37
build_conclusion :
66
69
options :
67
70
- cl
68
71
- icx
72
+ pack_release :
73
+ type : string
74
+ required : false
69
75
70
76
permissions : read-all
71
77
@@ -179,12 +185,27 @@ jobs:
179
185
name : sycl_windows_abi_symbols
180
186
path : build/new_sycl_symbols_windows.dump
181
187
retention-days : ${{ inputs.retention-days }}
182
- - name : Install
188
+ - name : Install sycl-toolchain
189
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
190
+ run : |
191
+ cmake --build build --target deploy-sycl-toolchain
192
+
193
+ - name : Pack toolchain release
194
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }}
195
+ run : tar -czf ${{ inputs.artifact_archive_name }} -C install .
196
+ - name : Upload toolchain release
197
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }}
198
+ uses : actions/upload-artifact@v4
199
+ with :
200
+ name : sycl_windows_release
201
+ path : ${{ inputs.artifact_archive_name }}
202
+ retention-days : ${{ inputs.retention-days }}
203
+
204
+ - name : Install utilities
183
205
if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
184
206
shell : bash
185
207
# TODO replace utility installation with a single CMake target
186
208
run : |
187
- cmake --build build --target deploy-sycl-toolchain
188
209
cmake --build build --target utils/FileCheck/install
189
210
cmake --build build --target utils/count/install
190
211
cmake --build build --target utils/not/install
You can’t perform that action at this time.
0 commit comments