* Bump Tock kernel version * Update boards to new kernel * Update patches to new kernel * Update PR template * Bump libtock-rs * Use new layout from libtock-rs * Fix clippy warnings due to updated toolchain * Fix new toolchain file format * Bump elf2tab to v0.7.0 * Fix worklow and setup.sh script to use the TOML rust-toolchain file * New libtock-rs style of declaring the stack. * Fix padding in layout file. The layout from libtock-rs generates invalid flash padding. The value is 32-bit and therefore setting padding to 0xff yields 0xff000000 instead of 0xffffffff that we want. * adds tock patch for app break hard fault * sets in deploy, removed patch 04-mpu-fix * fixed the if deploy * fixes indentation * updates board names in install.md * fix docs and deploy style Co-authored-by: Fabian Kaczmarczyck <kaczmarczyck@google.com> Co-authored-by: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com>
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
---
|
|
name: OpenSK tests
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'src/**/*.rs'
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
ctap2_test:
|
|
name: CTAP2 unit tests
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: "true"
|
|
- name: Install Rust toolchain
|
|
run: rustup show
|
|
- uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.7
|
|
- name: Install Python dependencies
|
|
run: python -m pip install --upgrade pip setuptools wheel
|
|
- name: Set up OpenSK
|
|
run: ./setup.sh
|
|
|
|
- name: Unit testing of CTAP2 (release mode)
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --release --features std
|
|
|
|
- name: Unit testing of CTAP2 (debug mode)
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
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
|
|
|