-
Notifications
You must be signed in to change notification settings - Fork 99
48 lines (36 loc) · 1.06 KB
/
test-units.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Unit tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: install libcheck
run: sudo apt-get install --no-install-recommends -y -q check
- name: make clean
run: |
make keysclean && make -C tools/keytools clean && rm -f include/target.h
- name: Build wolfboot and test footprint
run: |
make -C tools/unit-tests
- name: Run manifest header parser unit tests
run: |
./tools/unit-tests/unit-parser
- name: Run non-encrypted ext_flash unit tests
run: |
./tools/unit-tests/unit-extflash
- name: Run aes128 ext_flash unit tests
run: |
./tools/unit-tests/unit-aes128
- name: Run aes256 ext_flash unit tests
run: |
./tools/unit-tests/unit-aes256
- name: Run chacha20 ext_flash unit tests
run: |
./tools/unit-tests/unit-chacha20