Add more transparency into some EC structures. #1693
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: OpenSK tests | |
on: | |
push: | |
paths: | |
- 'src/**/*.rs' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
ctap2_test: | |
name: CTAP2 unit tests | |
runs-on: ubuntu-latest | |
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: | |
toolchain: nightly | |
command: test | |
args: --manifest-path libraries/opensk/Cargo.toml --release --features std | |
- name: Unit testing of CTAP2 (debug mode) | |
uses: actions-rs/cargo@v1 | |
with: | |
toolchain: nightly | |
command: test | |
args: --manifest-path libraries/opensk/Cargo.toml --features std | |
- name: Unit testing of CTAP2 (release mode + all features) | |
uses: actions-rs/cargo@v1 | |
with: | |
toolchain: nightly | |
command: test | |
args: --manifest-path libraries/opensk/Cargo.toml --release --features std,debug_ctap,with_ctap1,vendor_hid,ed25519 | |
- name: Unit testing of CTAP2 (debug mode + all features) | |
uses: actions-rs/cargo@v1 | |
with: | |
toolchain: nightly | |
command: test | |
args: --manifest-path libraries/opensk/Cargo.toml --features std,debug_ctap,with_ctap1,vendor_hid,ed25519 | |