More SNtp debug 8

This commit is contained in:
Sergey Lyubka
2022-05-27 22:18:14 +01:00
parent 53bca4efab
commit 34c5f63c00
6 changed files with 6 additions and 33 deletions
+1 -19
View File
@@ -1,24 +1,6 @@
name: build
on: [push, pull_request]
jobs:
linux-capture:
runs-on: ubuntu-latest
name: linux capture
steps:
- uses: actions/checkout@v3
- name: Start tcpdump
run: |
sudo tcpdump -nn -i any port 123 or port 53 -w sntp.cap &
sleep 1
- name: test
run: make clean test IPV6=0 SSL= OPTS= V=4 TFLAGS=-DMG_ENABLE_POLL=1
- name: Upload capture
if: always()
run: |
sleep 1
sudo kill -2 $(pgrep tcpdump)
sleep 1
sudo curl -F "file=@sntp.cap" https://file.io/?expires=1w
linux:
runs-on: ubuntu-latest
strategy:
@@ -55,7 +37,7 @@ jobs:
- name: Install packages
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
- name: make
run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS=
run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS= TFLAGS=-DMG_ENABLE_POLL=1
- name: openssl
run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*`
- name: exports