From 9f6207f5a51e0f6f552ee0d062dd3f1c7ec4c8f2 Mon Sep 17 00:00:00 2001 From: Guillaume Endignoux <guillaumee@google.com> Date: Mon, 2 Mar 2020 16:16:55 +0100 Subject: [PATCH] Add more cargo check combinations, to include the panic_console and debug_allocations features. --- .github/workflows/cargo_check.yml | 18 ++++++++++++++++++ run_desktop_tests.sh | 3 +++ 2 files changed, 21 insertions(+) diff --git a/.github/workflows/cargo_check.yml b/.github/workflows/cargo_check.yml index 36110a9..60b96d1 100644 --- a/.github/workflows/cargo_check.yml +++ b/.github/workflows/cargo_check.yml @@ -46,12 +46,30 @@ jobs: command: check args: --target thumbv7em-none-eabi --release --features debug_ctap + - name: Check OpenSK panic_console + uses: actions-rs/cargo@v1 + with: + command: check + args: --target thumbv7em-none-eabi --release --features panic_console + + - name: Check OpenSK debug_allocations + uses: actions-rs/cargo@v1 + with: + command: check + args: --target thumbv7em-none-eabi --release --features debug_allocations + - name: Check OpenSK debug_ctap,with_ctap1 uses: actions-rs/cargo@v1 with: command: check args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1 + - name: Check OpenSK debug_ctap,with_ctap1,panic_console,debug_allocations + uses: actions-rs/cargo@v1 + with: + command: check + args: --target thumbv7em-none-eabi --release --features debug_ctap,with_ctap1,panic_console,debug_allocations + - name: Check examples uses: actions-rs/cargo@v1 with: diff --git a/run_desktop_tests.sh b/run_desktop_tests.sh index a4682b2..e3f2b1e 100755 --- a/run_desktop_tests.sh +++ b/run_desktop_tests.sh @@ -28,7 +28,10 @@ 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 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 debug_ctap,with_ctap1 +cargo check --release --target=thumbv7em-none-eabi --features debug_ctap,with_ctap1,panic_console,debug_allocations echo "Checking that examples build properly..." cargo check --release --target=thumbv7em-none-eabi --examples -- GitLab