File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2929 name : Build + LIT
3030 runs-on : [Windows, build]
3131 # TODO use cached checkout
32+ outputs :
33+ build_conclusion : ${{ steps.build.conclusion }}
3234 steps :
3335 - uses : ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d
3436 with :
9294 run : |
9395 cmake --build build --target check-libdevice
9496 - name : Install
97+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
9598 shell : bash
9699 # TODO replace utility installation with a single CMake target
97100 run : |
@@ -106,18 +109,21 @@ jobs:
106109 cmake --build build --target install-llvm-profdata
107110 cmake --build build --target install-compiler-rt
108111 - name : Pack toolchain
112+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
109113 shell : bash
110114 run : |
111115 tar -czf llvm_sycl.tar.gz -C install .
112116 - name : Upload toolchain
117+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
113118 uses : actions/upload-artifact@v3
114119 with :
115120 name : sycl_windows_default
116121 path : llvm_sycl.tar.gz
117122
118123 e2e-tests :
119124 needs : build
120- if : ${{ inputs.lts_matrix != '[]' }}
125+ # Continue if build was successful.
126+ if : ${{ always() && needs.build.outputs.build_conclusion == 'success' && inputs.lts_matrix != '[]' }}
121127 strategy :
122128 fail-fast : false
123129 matrix :
You can’t perform that action at this time.
0 commit comments