Added test for scattered ELF + validation via sim

pull/562/head
Daniele Lacamera 2025-04-11 16:06:59 +02:00
parent ea0b4fb935
commit 5f8b79a3c8
1 changed files with 36 additions and 0 deletions

View File

@ -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