Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
koenigl2
OpenSK
Commits
3deca376
Commit
3deca376
authored
5 years ago
by
Guillaume Endignoux
Browse files
Options
Downloads
Patches
Plain Diff
Add SHA-256 sum computation to CI.
parent
e6e04dd1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/opensk_build.yml
+8
-0
8 additions, 0 deletions
.github/workflows/opensk_build.yml
run_desktop_tests.sh
+4
-0
4 additions, 0 deletions
run_desktop_tests.sh
with
12 additions
and
0 deletions
.github/workflows/opensk_build.yml
+
8
−
0
View file @
3deca376
...
...
@@ -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
This diff is collapsed.
Click to expand it.
run_desktop_tests.sh
+
4
−
0
View file @
3deca376
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment