Add SHA-256 sum computation to CI.
This commit is contained in:
8
.github/workflows/opensk_build.yml
vendored
8
.github/workflows/opensk_build.yml
vendored
@@ -24,8 +24,16 @@ jobs:
|
||||
- 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
|
||||
- name: Compute SHA-256 sum
|
||||
run: ./third_party/tock/tools/sha256sum/target/debug/sha256sum target/thumbv7em-none-eabi/release/ctap2
|
||||
|
||||
@@ -24,6 +24,9 @@ cd libraries/crypto
|
||||
cargo fmt --all -- --check
|
||||
cd ../..
|
||||
|
||||
echo "Building sha256sum tool..."
|
||||
cargo build --manifest-path third_party/tock/tools/sha256sum/Cargo.toml
|
||||
|
||||
echo "Checking that CTAP2 builds properly..."
|
||||
cargo check --release --target=thumbv7em-none-eabi
|
||||
cargo check --release --target=thumbv7em-none-eabi --features with_ctap1
|
||||
@@ -39,6 +42,7 @@ cargo check --release --target=thumbv7em-none-eabi --examples
|
||||
|
||||
echo "Checking that CTAP2 builds and links properly (1 set of features)..."
|
||||
cargo build --release --target=thumbv7em-none-eabi --features with_ctap1
|
||||
./third_party/tock/tools/sha256sum/target/debug/sha256sum target/thumbv7em-none-eabi/release/ctap2
|
||||
|
||||
echo "Checking that supported boards build properly..."
|
||||
make -C third_party/tock/boards/nordic/nrf52840dk
|
||||
|
||||
Reference in New Issue
Block a user