Skip to content

Commit

Permalink
fix(tls_cxx): Added a CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Mar 15, 2024
1 parent 790e39b commit b103970
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tls_cxx__build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "mqtt-cxx: build-tests"

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, labeled]

jobs:
build_tls_cxx:
if: contains(github.event.pull_request.labels.*.name, 'tls_cxx') || github.event_name == 'push'
name: Build
strategy:
matrix:
idf_ver: ["latest", "release-v5.2", "release-v5.1"]
test: [ { app: client, path: "examples/tls_client" }, { app: udp, path: "examples/udp_mutual_auth" }, { app: test, path: "tests/uart_mutual_auth" } ]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- name: Checkout esp-protocols
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }}
shell: bash
run: |
. ${IDF_PATH}/export.sh
python ./ci/build_apps.py ./components/mbedtls_cxx/${{ matrix.test.app }} -vv --preserve-all
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ Please refer to instructions in [ESP-IDF](https://github.com/espressif/esp-idf)
### ESP PPP Link (eppp)

* Brief introduction [README](components/eppp_link/README.md)

### mbedtls_cxx

* Brief introduction [README](components/mbedtls_cxx/README.md)
3 changes: 3 additions & 0 deletions components/mbedtls_cxx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# mbedtls_cxx

This is a simplified C++ wrapper of mbedTLS for performing TLS and DTLS handshake a communication. This component allows for overriding low level IO functions (`send()` and `recv()`) and thus supporting TLS over various physical channels.

0 comments on commit b103970

Please sign in to comment.