File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Filesystem
2+
3+ on :
4+ push :
5+ branches : [ 'master', 'main', 'release/**' ]
6+ pull_request :
7+ branches : [ '*' ]
8+
9+ jobs :
10+ build-lib-fs-example :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+ with :
16+ submodules : true
17+
18+ - name : Install build dependencies
19+ run : sudo apt-get update && sudo apt-get install -y build-essential
20+
21+ - name : Set simulation config and build signed boot partition
22+ run : |
23+ cp config/examples/sim.config .config
24+ make clean
25+ make
26+
27+ - name : Check for internal_flash.dd
28+ run : |
29+ if [ ! -f internal_flash.dd ]; then
30+ echo "Error: internal_flash.dd not found. Build may have failed."
31+ exit 1
32+ fi
33+
34+ - name : Switch to library_fs config
35+ run : cp config/examples/library_fs.config .config
36+
37+ - name : Clean and build lib-fs
38+ run : |
39+ make clean
40+ make lib-fs
41+
42+ - name : Mark BOOT partition as SUCCESS
43+ run : ./lib-fs success
44+
45+ - name : Verify BOOT partition integrity and authenticity
46+ run : ./lib-fs verify-boot
You can’t perform that action at this time.
0 commit comments