Skip to content

Commit 4b85887

Browse files
authored
Merge pull request #70 from simlay/refactor-ci-to-use-matrix-for-crypto-backends
Refactored CIs to use a matrix for cryptography backend feature flags.
2 parents 2fe6631 + 15497a6 commit 4b85887

File tree

3 files changed

+6
-47
lines changed

3 files changed

+6
-47
lines changed

.github/workflows/test-linux-openssl.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-mbedtls.yml renamed to .github/workflows/test-linux.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test-Linux-mbedTLS
1+
name: Test-Linux
22

33
on:
44
push:
@@ -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_mbedtls
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_mbedtls -- --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)