Skip to content

Commit

Permalink
Merge pull request #70 from simlay/refactor-ci-to-use-matrix-for-cryp…
Browse files Browse the repository at this point in the history
…to-backends

Refactored CIs to use a matrix for cryptography backend feature flags.
  • Loading branch information
kedars authored Jul 20, 2023
2 parents 2fe6631 + 15497a6 commit 4b85887
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 47 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/test-linux-openssl.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
@@ -1,4 +1,4 @@
name: Test-Linux-mbedTLS
name: Test-Linux

on:
push:
Expand All @@ -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_mbedtls
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_mbedtls -- --test-threads=1
run: cd matter; cargo test --verbose --no-default-features --features ${{matrix.crypto-backend}} -- --test-threads=1

0 comments on commit 4b85887

Please sign in to comment.