New key wrapping API #1915
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 build | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build_ctap2: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
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: Building sha256sum tool | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --manifest-path third_party/tock/tools/sha256sum/Cargo.toml | |
- name: Building OpenSK | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release --target=thumbv7em-none-eabi --features with_ctap1,vendor_hid | |
- name: Compute SHA-256 sum | |
run: ./third_party/tock/tools/sha256sum/target/debug/sha256sum target/thumbv7em-none-eabi/release/ctap2 |