From 67ef705eb44a44ea14a4b106f622c7509f8bf955 Mon Sep 17 00:00:00 2001 From: Julien Cretin Date: Fri, 20 May 2022 10:05:11 +0200 Subject: [PATCH] Add ed25519 to local and github tests --- .github/workflows/cargo_check.yml | 10 ++++++++-- .github/workflows/coveralls.yml | 2 +- run_desktop_tests.sh | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cargo_check.yml b/.github/workflows/cargo_check.yml index 5c56ff7..4652193 100644 --- a/.github/workflows/cargo_check.yml +++ b/.github/workflows/cargo_check.yml @@ -47,6 +47,12 @@ jobs: command: check args: --target thumbv7em-none-eabi --release --features vendor_hid + - name: Check OpenSK ed25519 + uses: actions-rs/cargo@v1 + with: + command: check + args: --target thumbv7em-none-eabi --release --features ed25519 + - name: Check OpenSK debug_ctap uses: actions-rs/cargo@v1 with: @@ -77,11 +83,11 @@ jobs: command: check args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1 - - name: Check OpenSK debug_ctap,with_ctap1,vendor_hid,panic_console,debug_allocations,verbose + - name: Check OpenSK debug_ctap,with_ctap1,vendor_hid,ed25519,panic_console,debug_allocations,verbose uses: actions-rs/cargo@v1 with: command: check - args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1,vendor_hid,panic_console,debug_allocations,verbose + args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1,vendor_hid,ed25519,panic_console,debug_allocations,verbose - name: Check examples uses: actions-rs/cargo@v1 diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index e405ab6..90ef226 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -34,7 +34,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: test - args: --features "with_ctap1,vendor_hid,with_nfc,std" --no-fail-fast + args: --features "with_ctap1,vendor_hid,ed25519,with_nfc,std" --no-fail-fast env: RUSTFLAGS: "-Zinstrument-coverage" LLVM_PROFILE_FILE: "opensk-%p-%m.profraw" diff --git a/run_desktop_tests.sh b/run_desktop_tests.sh index 74dfa3a..a7dad81 100755 --- a/run_desktop_tests.sh +++ b/run_desktop_tests.sh @@ -52,12 +52,13 @@ echo "Checking that CTAP2 builds properly..." cargo check --release --target=thumbv7em-none-eabi cargo check --release --target=thumbv7em-none-eabi --features with_ctap1 cargo check --release --target=thumbv7em-none-eabi --features vendor_hid +cargo check --release --target=thumbv7em-none-eabi --features ed25519 cargo check --release --target=thumbv7em-none-eabi --features debug_ctap cargo check --release --target=thumbv7em-none-eabi --features panic_console cargo check --release --target=thumbv7em-none-eabi --features debug_allocations cargo check --release --target=thumbv7em-none-eabi --features verbose cargo check --release --target=thumbv7em-none-eabi --features debug_ctap,with_ctap1 -cargo check --release --target=thumbv7em-none-eabi --features debug_ctap,with_ctap1,vendor_hid,panic_console,debug_allocations,verbose +cargo check --release --target=thumbv7em-none-eabi --features debug_ctap,with_ctap1,vendor_hid,ed25519,panic_console,debug_allocations,verbose echo "Checking that examples build properly..." cargo check --release --target=thumbv7em-none-eabi --examples