-
Notifications
You must be signed in to change notification settings - Fork 146
48 lines (39 loc) · 1.19 KB
/
test-filesystem.yml
File metadata and controls
48 lines (39 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Test Filesystem
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
build-lib-fs-example:
runs-on: ubuntu-latest
container:
image: ghcr.io/wolfssl/wolfboot-ci-sim:v1.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Trust workspace
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Set simulation config and build signed boot partition
run: |
cp config/examples/sim.config .config
make clean
make
- name: Check for internal_flash.dd
run: |
if [ ! -f internal_flash.dd ]; then
echo "Error: internal_flash.dd not found. Build may have failed."
exit 1
fi
- name: Switch to library_fs config
run: cp config/examples/library_fs.config .config
- name: Clean and build lib-fs
run: |
make clean
make lib-fs
- name: Mark BOOT partition as SUCCESS
run: ./lib-fs success
- name: Verify BOOT partition integrity and authenticity
run: ./lib-fs verify-boot