Skip to content

Commit

Permalink
Refactored CIs to use a matrix for cryptographic backend featuer flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Jul 16, 2023
1 parent 2fe6631 commit a8dce54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 46 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/test-linux-mbedtls.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/test-linux-rustcrypto.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
build_and_test:

runs-on: ubuntu-latest
strategy:
matrix:
crypto-backend: ['crypto_openssl', 'crypto_rustcrypto', 'crypto_mbedtls']

steps:
- uses: actions/checkout@v2
- name: Build
run: cd matter; cargo build --verbose --no-default-features --features crypto_openssl
run: cd matter; cargo build --verbose --no-default-features --features ${{matrix.crypto-backend}}
- name: Run tests
run: cd matter; cargo test --verbose --no-default-features --features crypto_openssl -- --test-threads=1
run: cd matter; cargo test --verbose --no-default-features --features ${{matrix.crypto-backend}} -- --test-threads=1

0 comments on commit a8dce54

Please sign in to comment.