From 8b49470825b6c201a62ffad7bb8c884a5c34c0e8 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Fri, 20 Oct 2023 16:40:38 -0500 Subject: [PATCH] Add mosquitto to CI tests --- .github/workflows/fsanitize-check.yml | 20 ++++++++++++++++++++ .github/workflows/ubuntu-check.yml | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) 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