File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ jobs:
31
31
ctest --output-on-failure --test-dir build
32
32
33
33
- name : BuildSanitized
34
+ if : always()
34
35
run : |
35
36
cd sdk
36
37
cmake --preset asan
37
38
cmake --build --preset asan --parallel $(($(nproc)/2))
38
39
39
40
- name : BuildFuzz
41
+ if : always()
40
42
run : |
41
43
# To ensure it still builds, run build for fuzz targets until we have
42
44
# proper fuzz testing infrastructure in place.
@@ -45,17 +47,20 @@ jobs:
45
47
cmake --build --preset fuzz --parallel $(($(nproc)/2))
46
48
47
49
- name : TestSanitized
50
+ if : always()
48
51
run : |
49
52
cd sdk
50
53
ctest --preset asan --output-on-failure -L samples
51
54
52
55
53
56
pti-tools-build-and-test :
54
57
55
- needs : sdk-build-and-test # this is a workaround to ensure tests setup to pass on this runner
58
+ needs : sdk-build-and-test # this is a workaround to ensure jobs run sequentially
56
59
# TODO make the workflow more generic
57
60
58
- if : github.repository != 'intel/pti-gpu' # no run externally due to no required HW
61
+ # run this job only if the previous one run and provided some result
62
+ if : (needs.sdk-build-and-test.result == 'success' || needs.sdk-build-and-test.result == 'failure' )
63
+
59
64
runs-on : self-hosted
60
65
61
66
steps :
You can’t perform that action at this time.
0 commit comments