60
60
- name : wolfmqtt make
61
61
run : make
62
62
- name : wolfmqtt make check
63
- id : make-check
64
63
run : make check
65
- - name : Show logs on failure
66
- if : ${{ failure() && steps.make-check.outcome == 'failure' }}
67
- run : |
68
- more test-suite.log
69
64
70
65
env :
71
66
WOLFMQTT_NO_EXTERNAL_BROKER_TESTS : 1
@@ -75,44 +70,31 @@ jobs:
75
70
- name : wolfmqtt make
76
71
run : make
77
72
- name : wolfmqtt make check
78
- id : make-check-sn
79
73
run : make check
80
- - name : Show logs on failure
81
- if : ${{ failure() && steps.make-check-sn.outcome == 'failure' }}
82
- run : |
83
- more test-suite.log
84
74
85
75
- name : wolfmqtt configure with Non-Block
86
76
run : ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
87
77
- name : wolfmqtt make
88
78
run : make
89
79
- name : wolfmqtt make check
90
- id : make-check-nonblock
91
80
run : make check
92
- - name : Show logs on failure
93
- if : ${{ failure() && steps.make-check-nonblock.outcome == 'failure' }}
94
- run : |
95
- more test-suite.log
96
81
97
82
- name : wolfmqtt configure with Non-Block and Multi-threading
98
83
run : ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
99
84
- name : wolfmqtt make
100
85
run : make
101
86
- name : wolfmqtt make check
102
- id : make-check-nonblock-mt
103
87
run : make check
104
- - name : Show logs on failure
105
- if : ${{ failure() && steps.make-check-nonblock-mt.outcome == 'failure' }}
106
- run : |
107
- more test-suite.log
88
+
108
89
- name : configure with Multi-threading and WOLFMQTT_DYN_PROP
109
90
run : ./configure --enable-mt CFLAGS="-DWOLFMQTT_DYN_PROP"
110
91
- name : make
111
92
run : make
112
93
- name : make check
113
- id : make-check-mt-dynprop
114
94
run : make check
95
+
96
+ # capture logs on failure
115
97
- name : Show logs on failure
116
- if : ${{ failure() && steps.make-check-mt-dynprop.outcome == 'failure' }}
98
+ if : failure() || cancelled()
117
99
run : |
118
- more test-suite.log
100
+ cat test-suite.log
0 commit comments