mirror of https://github.com/wolfSSL/wolfBoot.git
Added test for scattered ELF + validation via sim
parent
ea0b4fb935
commit
5f8b79a3c8
|
@ -0,0 +1,36 @@
|
||||||
|
name: Test for scattered elf validation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ 'master', 'main', 'release/**' ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ '*' ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
elf_scattered_test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: make clean
|
||||||
|
run: |
|
||||||
|
make keysclean
|
||||||
|
|
||||||
|
- name: Select config
|
||||||
|
run: |
|
||||||
|
cp config/examples/sim.config .config
|
||||||
|
|
||||||
|
- name: Build tools
|
||||||
|
run: |
|
||||||
|
make -C tools/keytools && make -C tools/bin-assemble
|
||||||
|
|
||||||
|
- name: Build wolfboot.elf
|
||||||
|
run: |
|
||||||
|
make clean && make test-sim-internal-flash-with-update ELF=1 ELF_SCATTERED=1
|
||||||
|
|
||||||
|
- name: Run bootloader with no arguments
|
||||||
|
run: |
|
||||||
|
./wolfboot.elf
|
Loading…
Reference in New Issue