File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-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@v3
15+
16+ - name : Install build dependencies
17+ run : sudo apt-get update && sudo apt-get install -y build-essential
18+
19+ - name : Set simulation config and build signed boot partition
20+ run : |
21+ cp config/examples/sim.config .config
22+ make clean
23+ make
24+
25+ - name : Check for internal_flash.dd
26+ run : |
27+ if [ ! -f internal_flash.dd ]; then
28+ echo "Error: internal_flash.dd not found. Build may have failed."
29+ exit 1
30+ fi
31+
32+ - name : Switch to library_fs config
33+ run : cp config/examples/library_fs.config .config
34+
35+ - name : Clean and build lib-fs
36+ run : |
37+ make clean
38+ make lib-fs
39+
40+ - name : Mark BOOT partition as SUCCESS
41+ run : ./lib-fs success
42+
43+ - name : Verify BOOT partition integrity and authenticity
44+ run : ./lib-fs verify-boot
You can’t perform that action at this time.
0 commit comments