Skip to content

[common,crypto] Add psa_crypto.c from mbedTLS to build it for zephyr #21

[common,crypto] Add psa_crypto.c from mbedTLS to build it for zephyr

[common,crypto] Add psa_crypto.c from mbedTLS to build it for zephyr #21

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
- develop
- feature_*
pull_request:
branches:
- main
- develop
- feature_*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare
run: |
sudo apt install lcov libsofthsm2 -y
- name: Build and test
run: |
mkdir build
cd build
cmake ../
cmake ../ -DWITH_TEST=ON -DWITH_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug
make; make tests; make coverage
- name: Upload codecov report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./build/coverage.total