Commit Graph

87 Commits

Author SHA1 Message Date
Fabian Kaczmarczyck
f64567febc fix crypto workflow 2021-02-02 06:52:01 +01:00
Julien Cretin
2cd760bad7 Merge branch 'develop' into v2_optim 2021-01-18 16:10:08 +01:00
Fabian Kaczmarczyck
de360a6cb6 removes all occurences of CTAP 2.1 flags from workflows 2021-01-07 18:40:37 +01:00
Julien Cretin
fb15032f0b Test with nightly 2020-12-10 18:56:29 +01:00
Julien Cretin
4253854cf1 Remove ram_storage feature
We don't need to build a production key without persistent storage. Tests and
fuzzing continue to use the std feature to use the RAM implementation (that does
sanity checks).
2020-12-10 13:06:05 +01:00
Jean-Michel Picod
dab0077b87 Fix broken crypto_test workflow.
The use of `::set-env` command in workflows is not being depreacted.
Moving to the new way of setting environment variables.
2020-11-20 11:58:39 +01:00
Julien Cretin
163e92fa6b Create fuzzing and add entropy helpers 2020-11-11 12:30:24 +01:00
Julien Cretin
4c76d5618e Show the diff but do not fail 2020-10-13 14:59:31 +02:00
Julien Cretin
d1ab6090f1 Disable reproducible workflow 2020-10-09 12:16:02 +02:00
Guillaume Endignoux
63432000db Allow clippy::new_without_default. 2020-09-29 11:19:41 +02:00
Guillaume Endignoux
ea781541d5 Install Clippy via actions-rs/toolchain. 2020-09-29 11:05:24 +02:00
Guillaume Endignoux
b46b103db0 Add a Clippy workflow. 2020-09-29 11:05:24 +02:00
Julien Cretin
72b460f9f8 Merge branch 'master' into v2_lib 2020-09-25 16:32:56 +02:00
Guillaume Endignoux
a8b4258d76 Disable cargo_fuzz workflow on MacOS. 2020-09-24 14:37:01 +02:00
Julien Cretin
a203ff13df Create new store and add storage API 2020-09-24 14:24:18 +02:00
Guillaume Endignoux
7485b097c1 Check that fuzzer in libraries/cbor builds properly. 2020-09-24 11:33:15 +02:00
mingxguo27
e467026e6f Added git workflow and shell script for fuzzing 2020-09-23 15:08:40 +00:00
mingxguo27
3a6a78bbf2 Resolved PR comments 2020-09-23 14:33:05 +00:00
mingxguo27
eca09cdeb6 Merge branch 'master' of https://github.com/google/OpenSK into mingxguo-fuzzing 2020-08-13 17:20:15 +00:00
mingxguo27
b09d64a015 Resolve pull request comments: refactoring and workflow 2020-08-12 10:18:17 +00:00
Jean-Michel Picod
f68ab0be9d Update GitHub workflow 2020-08-07 16:39:11 +02:00
Guillaume Endignoux
c73492aae5 Checkout with submodules. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux
67a7223802 Setup submodules before the rest so that GitHub workflows can find the rust-toolchain. 2020-08-07 15:09:07 +02:00
Guillaume Endignoux
b6c6392aaa Pin tockloader in workflows. 2020-07-23 15:11:11 +02:00
Guillaume Endignoux
4bda702a70 Install ncurses on GitHub workflow. 2020-06-26 11:12:25 +02:00
Guillaume Endignoux
f33bd3838f Typo. 2020-06-26 11:07:48 +02:00
Guillaume Endignoux
31a8996ea5 Add tests for heapviz tool. 2020-06-26 11:05:45 +02:00
Guillaume Endignoux
94876db179 Always run git-diff in reproducible workflow, even if the job failed so far. 2020-06-15 17:25:50 +02:00
Guillaume Endignoux
ad044972b5 Per-OS reproducible elf2tab. 2020-06-09 16:43:01 +02:00
Guillaume Endignoux
6b2df6f2b5 Add elf2tab output to reproducible reference, to easily check for binary size regressions. 2020-06-09 16:27:22 +02:00
Guillaume Endignoux
0604be61a6 Don't fail fast on reproducible workflow and update reference binaries. 2020-05-13 13:24:34 +02:00
Guillaume Endignoux
20f65f9dd7 Add GitHub workflow to check that binaries are reproducible. 2020-05-12 17:41:27 +02:00
Fabian Kaczmarczyck
8bbf42623f adds cargo checks and tests to workflows and locally 2020-04-29 09:53:44 +02:00
Jean-Michel Picod
c9773e0f80 Fix dependency on tockloader 1.4
Now that it has been released and pushed to pypi, make sure that
tockloader is at least 1.4 version
2020-04-28 10:02:47 +02:00
Jean-Michel Picod
7cfe3ac3cd Merge branch 'master' into master 2020-04-24 15:37:46 +02:00
Jean-Michel Picod
5ea58bc018 Fix style being used with yapf 0.30.0 2020-04-24 12:38:10 +02:00
Guillaume Endignoux
291d3db553 Add rustfmt component to cargo_fmt workflow. 2020-04-09 13:38:57 +02:00
Guillaume Endignoux
4b9486d0bd Sync with upstream Tock to have reproducible builds. 2020-04-08 15:45:46 +02:00
Guillaume Endignoux
4d5ef342de Update workflows. 2020-03-13 16:03:31 +01:00
Guillaume Endignoux
3deca37699 Add SHA-256 sum computation to CI. 2020-03-12 18:53:16 +01:00
Jean-Michel Picod
0e1c76455d Address review round #2 2020-03-12 12:12:45 +01:00
Jean-Michel Picod
e21c753dd3 Merge branch 'master' into master 2020-03-06 13:36:11 +01:00
Jean-Michel Picod
9b3eca2c78 Fix extraneous globbing in workflows 2020-03-06 11:35:38 +01:00
Guillaume Endignoux
3af13f1957 Add path protection on push for workflows/boards_build.
According to the rules at https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#patterns-to-match-file-paths
2020-03-05 17:12:05 +01:00
Guillaume Endignoux
1fca16316e Remove paths rules from workflows/boards_build. 2020-03-05 15:31:32 +01:00
Guillaume Endignoux
ed350192c9 Move third_party/tock to a long build directory to catch limits in the linker scripts. 2020-03-05 12:28:01 +01:00
Guillaume Endignoux
eac6f1d0bd Build boards only when relevant paths are affected. 2020-03-05 12:08:28 +01:00
Guillaume Endignoux
6d323f3c5a Apply make suggestions. 2020-03-05 12:03:35 +01:00
Guillaume Endignoux
0fe4889624 Add GitHub workflow to build the boards. 2020-03-05 11:50:26 +01:00
Julien Cretin
e52a671810 Support storing in RAM instead of flash
This permits to run without persistent storage. The benefit is that the board
doesn't implement a the syscall API in Tock. The disadvantage is that rebooting
the key will reset the storage.
2020-03-04 16:24:06 +01:00