Revert strategy.matrix and fix missing release mode

This commit is contained in:
Jean-Michel Picod
2020-03-02 14:27:51 +01:00
parent 73de02d141
commit 72ac346d57

View File

@@ -11,9 +11,6 @@ jobs:
ctap2_test:
name: CTAP2 unit tests
runs-on: ubuntu-18.04
strategy:
matrix:
cargo_features: [std std,with_ctap1]
steps:
- uses: actions/checkout@v2
@@ -32,10 +29,23 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --release --features ${{ cargo_features }}
args: --release --features std
- name: Unit testing of CTAP2 (debug mode)
uses: actions-rs/cargo@v1
with:
command: test
args: --features ${{ cargo_features }}
args: --features std
- name: Unit testing of CTAP2 (release mode + CTAP1)
uses: actions-rs/cargo@v1
with:
command: test
args: --release --features std,with_ctap1
- name: Unit testing of CTAP2 (debug mode + CTAP1)
uses: actions-rs/cargo@v1
with:
command: test
args: --features std,with_ctap1