@@ -59,11 +59,17 @@ jobs:
59
59
env :
60
60
CC : ${{ matrix.cc }}
61
61
SSL : ${{ matrix.ssl }}
62
- TFLAGS : -DMQTT_LOCALHOST
62
+ TFLAGS : -DMQTT_LOCALHOST -DNO_ABORT
63
63
steps :
64
64
- uses : actions/checkout@v4
65
65
with : { fetch-depth: 2 }
66
- - run : if [ "${{ matrix.target }}" == "mip_tap_test" ]; then ./test/setup_ga_network.sh ; fi && sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev && make -C test ${{ matrix.target }} IPV6=0
66
+ -
uses :
webfactory/[email protected]
67
+ with :
68
+ ssh-private-key : ${{ secrets.HEALTH_TESTS_SSH_KEY }}
69
+ - run : if [ "${{ matrix.target }}" == "mip_tap_test" ]; then ./test/setup_ga_network.sh ; fi && sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev && make -C test ${{ matrix.target }} IPV6=0 > log
70
+ - run : test/health.awk < log > json
71
+ -
run :
scp -o "StrictHostKeyChecking=no" json "[email protected] :/data/downloads/${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.ssl }}_$(date +"%Y%m%d").json"
72
+
67
73
mip89 :
68
74
runs-on : ubuntu-latest
69
75
strategy :
@@ -156,9 +162,15 @@ jobs:
156
162
steps :
157
163
- uses : actions/checkout@v4
158
164
with : { fetch-depth: 2 }
159
- - run : brew install mbedtls wolfssl mosquitto # jq openssl already pre-installed
165
+ -
uses :
webfactory/[email protected]
166
+ with :
167
+ ssh-private-key : ${{ secrets.HEALTH_TESTS_SSH_KEY }}
168
+ - run : brew install mbedtls wolfssl mosquitto gawk # jq openssl already pre-installed
160
169
- run : /opt/homebrew/opt/mosquitto/sbin/mosquitto -c /Users/runner/work/mongoose/mongoose/test/mosquitto.conf.macos &
161
- - run : make -C test test ASAN_OPTIONS= MBEDTLS=$(echo $(brew --cellar)/mbedtls*/*) OPENSSL=$(echo $(brew --cellar)/openssl*/*) WOLFSSL=$(echo $(brew --cellar)/wolfssl*/*)
170
+ - run : make -C test test ASAN_OPTIONS= MBEDTLS=$(echo $(brew --cellar)/mbedtls*/*) OPENSSL=$(echo $(brew --cellar)/openssl*/*) WOLFSSL=$(echo $(brew --cellar)/wolfssl*/*) > log
171
+ - run : test/health.awk < log > json
172
+ -
run :
scp -o "StrictHostKeyChecking=no" json "[email protected] :/data/downloads/macos_test_cc_${{ matrix.ssl }}_${{ matrix.select }}_$(date +"%Y%m%d").json"
173
+
162
174
windows :
163
175
runs-on : ubuntu-latest
164
176
strategy :
@@ -178,7 +190,13 @@ jobs:
178
190
steps :
179
191
- uses : actions/checkout@v4
180
192
with : { fetch-depth: 2 }
181
- - run : ./test/setup_mqtt_server.sh && make -C test ${{ matrix.target }}
193
+ -
uses :
webfactory/[email protected]
194
+ with :
195
+ ssh-private-key : ${{ secrets.HEALTH_TESTS_SSH_KEY }}
196
+ - run : ./test/setup_mqtt_server.sh && make -C test ${{ matrix.target }} > log
197
+ - run : test/health.awk < log > json
198
+ -
run :
scp -o "StrictHostKeyChecking=no" json "[email protected] :/data/downloads/windows_${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.ssl }}_${{ matrix.select }}_$(date +"%Y%m%d").json"
199
+
182
200
arm :
183
201
runs-on : ubuntu-latest
184
202
strategy :
@@ -209,9 +227,15 @@ jobs:
209
227
name : tutorials ${{ matrix.ssl }}
210
228
steps :
211
229
- uses : actions/checkout@v4
230
+ -
uses :
webfactory/[email protected]
231
+ with :
232
+ ssh-private-key : ${{ secrets.HEALTH_TESTS_SSH_KEY }}
212
233
- run : sudo apt -y install libpcap-dev
213
- - run : make -C test tutorials CFLAGS_EXTRA="${{ matrix.ssl }}"
234
+ - run : make -C test tutorials CFLAGS_EXTRA="${{ matrix.ssl }}" > log
235
+ - run : test/health.awk < log > json
236
+ -
run :
scp -o "StrictHostKeyChecking=no" json "[email protected] :/data/downloads/tutorials_${{ matrix.ssl }}_$(date +"%Y%m%d").json"
214
237
- run : make -C test clean_tutorials
238
+
215
239
tutorials_win :
216
240
runs-on : windows-latest
217
241
strategy :
0 commit comments