File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 46
46
default : 3
47
47
e2e_binaries_artifact :
48
48
type : string
49
- required : False
49
+ required : false
50
+ pack_release :
51
+ type : string
52
+ required : false
50
53
51
54
outputs :
52
55
build_conclusion :
100
103
options :
101
104
- 3
102
105
106
+ pack_release :
107
+ type : string
108
+ required : false
109
+
103
110
permissions : read-all
104
111
105
112
jobs :
@@ -215,7 +222,23 @@ jobs:
215
222
# TODO consider moving this to Dockerfile.
216
223
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
217
224
LIT_OPTS="--allow-empty-runs" LIT_FILTER="e2e_test_requirements" cmake --build $GITHUB_WORKSPACE/build --target check-sycl
218
- - name : Install
225
+ - name : Install sycl-toolchain
226
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
227
+ run : |
228
+ cmake --build $GITHUB_WORKSPACE/build --target deploy-sycl-toolchain
229
+
230
+ - name : Pack toolchain release
231
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }}
232
+ run : tar -I '${{ steps.artifact_info.outputs.COMPRESS }}' -cf ${{ steps.artifact_info.outputs.ARCHIVE_NAME }} -C $GITHUB_WORKSPACE/build/install .
233
+ - name : Upload toolchain release
234
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' && inputs.pack_release == 'true' }}
235
+ uses : actions/upload-artifact@v4
236
+ with :
237
+ name : sycl_linux_release
238
+ path : ${{ steps.artifact_info.outputs.ARCHIVE_NAME }}
239
+ retention-days : ${{ inputs.retention-days }}
240
+
241
+ - name : Install utilities
219
242
if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
220
243
# TODO replace utility installation with a single CMake target
221
244
run : |
You can’t perform that action at this time.
0 commit comments