diff --git a/.github/workflows/fsanitize-check.yml b/.github/workflows/fsanitize-check.yml index ee87798ef..273d82d4e 100644 --- a/.github/workflows/fsanitize-check.yml +++ b/.github/workflows/fsanitize-check.yml @@ -15,6 +15,26 @@ jobs: WOLFMQTT_NO_EXTERNAL_BROKER_TESTS: 1 steps: + - name: Install dependencies + run: | + # Don't prompt for anything + export DEBIAN_FRONTEND=noninteractive + sudo apt-get update + # Install mosquitto + sudo apt-get install -y mosquitto + + - name: Setup mosquitto broker + run: | + # Disable default broker daemon + sudo service mosquitto stop + + # This is some debug info useful if something goes wrong + - name: Show network status + run: | + sudo ifconfig + sudo route + sudo netstat -tulpan + - uses: actions/checkout@master with: repository: wolfssl/wolfssl diff --git a/.github/workflows/ubuntu-check.yml b/.github/workflows/ubuntu-check.yml index 7baf97b18..bf89e6660 100644 --- a/.github/workflows/ubuntu-check.yml +++ b/.github/workflows/ubuntu-check.yml @@ -13,6 +13,26 @@ jobs: timeout-minutes: 5 steps: + - name: Install dependencies + run: | + # Don't prompt for anything + export DEBIAN_FRONTEND=noninteractive + sudo apt-get update + # Install mosquitto + sudo apt-get install -y mosquitto + + - name: Setup mosquitto broker + run: | + # Disable default broker daemon + sudo service mosquitto stop + + # This is some debug info useful if something goes wrong + - name: Show network status + run: | + sudo ifconfig + sudo route + sudo netstat -tulpan + - uses: actions/checkout@master with: repository: wolfssl/wolfssl