add github action for encryption with delta updates

pull/312/head
John Bland 2023-05-17 10:23:38 -04:00 committed by Daniele Lacamera
parent 6a21c02e6c
commit 1e3f30a1c6
1 changed files with 43 additions and 1 deletions

View File

@ -179,7 +179,49 @@ jobs:
run: |
make clean && make test-sim-external-flash-with-enc-update
- name: Run update-revert test with power failures (DELTA)
- name: Run update-revert test with power failures (AES128)
run: |
tools/scripts/sim-update-powerfail-resume.sh
# TEST with encryption (aes128) and delta updates
- name: make clean
run: |
make keysclean && make -C tools/keytools clean && rm -f include/target.h
- name: Select config with encrypted updates
run: |
cp config/examples/sim-encrypt-delta-update.config .config
- name: Build key tools
run: |
make -C tools/keytools
- name: Build bin assemble
run: |
make -C tools/bin-assemble
- name: Build wolfboot.elf
run: |
make test-sim-external-flash-with-enc-delta-update
- name: Run sunny day update test (AES128 DELTA)
run: |
tools/scripts/sim-sunnyday-update.sh
- name: Rebuild wolfboot.elf
run: |
make clean && make test-sim-external-flash-with-enc-delta-update
- name: Run update-revert test (AES128 DELTA)
run: |
tools/scripts/sim-update-fallback.sh
- name: Rebuild wolfboot.elf
run: |
make clean && make test-sim-external-flash-with-enc-delta-update
- name: Run update-revert test with power failures (AES128 DELTA)
run: |
tools/scripts/sim-update-powerfail-resume.sh