Closed philljj closed 7 months ago
The client and firmware tests work with --enable-curl
now, and the curl support includes TLS and mTLS.
Will add a github action now.
Added the curl ubuntu CI test in a separate workflow
.github/workflows/ubuntu-check-curl.yml
just to avoid potential side-effects between the with and without curl CI tests.
(The --enable-curl
in wolfssl pulls in opensslextra and other things).
The new workflow tests these combinations:
--enable-curl
--enable-curl --disable-tls
I think several of these combinations need to be rejected in configure.ac. Looking at this.
Also, I'll document more clearly which --enable-
options are compatible with --enable-curl
.
Description
Added libcurl easy socket backend support for testing purposes.
Built with:
Prereqs
--enable-curl
and installed to/usr/local
.--with-wolfssl
and installed to/usr/local
.Testing
Added new curl easy socket example to
examples/mqttnet.c
, gated behindENABLE_MQTT_CURL
. If using TLS a CAfile can be passed in with -A:Also test with:
These tests are enabled and work with
--enable-curl
:scripts/firmware.test
scripts/client.test
These tests work as well if they are enabled:
scripts/multithread.test
scripts/nbclient.test