diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0aedcdfb..611a2d9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,23 +33,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v3 - - name: Install packages - run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl - - name: Start tcpdump - run: | - sudo tcpdump -nn -i any port 123 -w sntp.cap & - sleep 1 - - name: make - run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS= - - 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 - - name: openssl - run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*` + - run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl + - run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS= + - run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*` - run: make mg_prefix windows: runs-on: ubuntu-latest