Skip to content

Commit

Permalink
Add mosquitto to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Oct 20, 2023
1 parent d8e9699 commit 8b49470
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/fsanitize-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/ubuntu-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b49470

Please sign in to comment.