feat: atchops refactor, ESP-IDF build static libraries, ESP-IDF project examples, repl example, lots of docs #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: [trunk] | |
pull_request: | |
branches: [trunk] | |
jobs: | |
unit-tests: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install AtChops | |
working-directory: packages/atchops | |
run: | | |
cmake -S . -B build -DATCHOPS_BUILD_TESTS=ON -DATCHOPS_FETCH_MBEDTLS=ON | |
sudo cmake --build build --target install | |
- name: CTest AtChops | |
working-directory: packages/atchops/build/tests | |
run: | | |
ctest -V --output-on-failure --timeout 2 | |
- name: Install AtClient | |
working-directory: packages/atclient | |
run: | | |
cmake -S . -B build -DATCLIENT_BUILD_TESTS=ON -DATCLIENT_FETCH_ATCHOPS=OFF -DATCLIENT_FETCH_MBEDTLS=ON | |
sudo cmake --build build --target install | |
- name: CTest AtClient | |
working-directory: packages/atclient/build/tests | |
run: | | |
ctest -V --output-on-failure --timeout 2 |