Skip to content

Commit

Permalink
feat(crypto-mbedtls): add tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
malishav committed Oct 6, 2023
1 parent bc14964 commit c797894
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
strategy:
fail-fast: false
matrix:
crypto_backend: [crypto-hacspec, crypto-psa]
crypto_backend: [crypto-hacspec, crypto-psa, crypto-mbedtls]
ead: [ead-none, ead-zeroconf]

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Run unit tests # note that we only add `--package edhoc-hacspec` when testing the hacspec version of the lib
- name: Run unit tests
run: cargo test --package edhoc-rs --package edhoc-crypto --package edhoc-ead --no-default-features --features="${{ matrix.crypto_backend }}, ${{ matrix.ead }}" --no-fail-fast


Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
crypto_backend: [crypto-hacspec, crypto-psa, crypto-psa-baremetal, crypto-cryptocell310]
crypto_backend: [crypto-hacspec, crypto-psa, crypto-psa-baremetal, crypto-cryptocell310, crypto-mbedtls]
ead: [ead-none, ead-zeroconf]

steps:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
strategy:
fail-fast: false
matrix:
crypto_backend: [crypto-psa-baremetal, crypto-cryptocell310]
crypto_backend: [crypto-psa-baremetal, crypto-cryptocell310, crypto-mbedtls]

steps:
- name: Checkout repo
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
strategy:
fail-fast: false
matrix:
crypto_backend: [crypto-psa]
crypto_backend: [crypto-psa, crypto-mbedtls]
ead: [ead-none, ead-zeroconf]

steps:
Expand All @@ -155,7 +155,7 @@ jobs:
strategy:
fail-fast: false
matrix:
crypto_backend: [crypto-psa, crypto-cryptocell310]
crypto_backend: [crypto-psa, crypto-mbedtls, crypto-cryptocell310]
ead: [ead-none, ead-zeroconf]

steps:
Expand Down

0 comments on commit c797894

Please sign in to comment.