Skip to content

Commit 5f8b79a

Browse files
committed
Added test for scattered ELF + validation via sim
1 parent ea0b4fb commit 5f8b79a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test for scattered elf validation
2+
3+
on:
4+
push:
5+
branches: [ 'master', 'main', 'release/**' ]
6+
pull_request:
7+
branches: [ '*' ]
8+
9+
jobs:
10+
elf_scattered_test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
18+
- name: make clean
19+
run: |
20+
make keysclean
21+
22+
- name: Select config
23+
run: |
24+
cp config/examples/sim.config .config
25+
26+
- name: Build tools
27+
run: |
28+
make -C tools/keytools && make -C tools/bin-assemble
29+
30+
- name: Build wolfboot.elf
31+
run: |
32+
make clean && make test-sim-internal-flash-with-update ELF=1 ELF_SCATTERED=1
33+
34+
- name: Run bootloader with no arguments
35+
run: |
36+
./wolfboot.elf

0 commit comments

Comments
 (0)