Skip to content

Commit a8dce54

Browse files
committed
Refactored CIs to use a matrix for cryptographic backend featuer flags.
1 parent 2fe6631 commit a8dce54

File tree

3 files changed

+5
-46
lines changed

3 files changed

+5
-46
lines changed

.github/workflows/test-linux-mbedtls.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/test-linux-rustcrypto.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/test-linux-openssl.yml renamed to .github/workflows/test-linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ jobs:
1313
build_and_test:
1414

1515
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
crypto-backend: ['crypto_openssl', 'crypto_rustcrypto', 'crypto_mbedtls']
1619

1720
steps:
1821
- uses: actions/checkout@v2
1922
- name: Build
20-
run: cd matter; cargo build --verbose --no-default-features --features crypto_openssl
23+
run: cd matter; cargo build --verbose --no-default-features --features ${{matrix.crypto-backend}}
2124
- name: Run tests
22-
run: cd matter; cargo test --verbose --no-default-features --features crypto_openssl -- --test-threads=1
25+
run: cd matter; cargo test --verbose --no-default-features --features ${{matrix.crypto-backend}} -- --test-threads=1

0 commit comments

Comments
 (0)