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 2929 type : string
3030 required : false
3131 default : " cl"
32+ pack_release :
33+ type : string
34+ required : false
3235
3336 outputs :
3437 build_conclusion :
6669 options :
6770 - cl
6871 - icx
72+ pack_release :
73+ type : string
74+ required : false
6975
7076permissions : read-all
7177
@@ -179,12 +185,27 @@ jobs:
179185 name : sycl_windows_abi_symbols
180186 path : build/new_sycl_symbols_windows.dump
181187 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
183205 if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
184206 shell : bash
185207 # TODO replace utility installation with a single CMake target
186208 run : |
187- cmake --build build --target deploy-sycl-toolchain
188209 cmake --build build --target utils/FileCheck/install
189210 cmake --build build --target utils/count/install
190211 cmake --build build --target utils/not/install
You can’t perform that action at this time.
0 commit comments