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 29
29
name : Build + LIT
30
30
runs-on : [Windows, build]
31
31
# TODO use cached checkout
32
+ outputs :
33
+ build_conclusion : ${{ steps.build.conclusion }}
32
34
steps :
33
35
- uses : ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d
34
36
with :
92
94
run : |
93
95
cmake --build build --target check-libdevice
94
96
- name : Install
97
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
95
98
shell : bash
96
99
# TODO replace utility installation with a single CMake target
97
100
run : |
@@ -106,18 +109,21 @@ jobs:
106
109
cmake --build build --target install-llvm-profdata
107
110
cmake --build build --target install-compiler-rt
108
111
- name : Pack toolchain
112
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
109
113
shell : bash
110
114
run : |
111
115
tar -czf llvm_sycl.tar.gz -C install .
112
116
- name : Upload toolchain
117
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
113
118
uses : actions/upload-artifact@v3
114
119
with :
115
120
name : sycl_windows_default
116
121
path : llvm_sycl.tar.gz
117
122
118
123
e2e-tests :
119
124
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 != '[]' }}
121
127
strategy :
122
128
fail-fast : false
123
129
matrix :
You can’t perform that action at this time.
0 commit comments