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 4646 default : 3
4747 e2e_binaries_artifact :
4848 type : string
49- required : False
49+ required : false
50+ pack_release :
51+ type : string
52+ required : false
5053
5154 outputs :
5255 build_conclusion :
100103 options :
101104 - 3
102105
106+ pack_release :
107+ type : string
108+ required : false
109+
103110permissions : read-all
104111
105112jobs :
@@ -215,7 +222,23 @@ jobs:
215222 # TODO consider moving this to Dockerfile.
216223 export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
217224 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
219242 if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
220243 # TODO replace utility installation with a single CMake target
221244 run : |
You can’t perform that action at this time.
0 commit comments