Merge pull request #344 from danielinux/fix_windows_keytools #13
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: Unit tests | |
on: | |
push: | |
branches: [ 'master', 'main', 'release/**' ] | |
pull_request: | |
branches: [ '*' ] | |
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 |