@@ -16,28 +16,18 @@ jobs:
16
16
with :
17
17
submodules : true
18
18
19
- - name : Workaround for sources.list
20
- run : sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list
21
-
22
- - name : Update repository
23
- run : sudo apt-get update
24
-
25
- - name : Install wolfSSL
26
- run : |
27
- sudo apt-get install --no-install-recommends -y -q make libwolfssl-dev
28
-
29
19
# ECC
30
20
- name : make clean
31
21
run : |
32
- make distclean && make keysclean && make -C tools/keytools clean && rm -f include/target.h
22
+ make distclean
33
23
34
24
- name : Select config
35
25
run : |
36
26
cp config/examples/sim-ecc.config .config && make include/target.h
37
27
38
- - name : Build key tools
28
+ - name : Build tools
39
29
run : |
40
- make -C tools/keytools
30
+ make -C tools/keytools && make -C tools/bin-assemble
41
31
42
32
- name : Build wolfboot
43
33
run : |
@@ -67,18 +57,19 @@ jobs:
67
57
run : |
68
58
./tools/keytools/sign --ecc256 --sha256 --manual-sign test-app/image.elf public-key.der 1 test-app/image_v1.sig
69
59
60
+
70
61
# ED25519
71
62
- name : make clean
72
63
run : |
73
- make distclean && make keysclean && make -C tools/keytools clean && rm -f include/target.h
64
+ make distclean
74
65
75
66
- name : Select config
76
67
run : |
77
68
cp config/examples/sim.config .config && make include/target.h
78
69
79
- - name : Build key tools
70
+ - name : Build tools
80
71
run : |
81
- make -C tools/keytools
72
+ make -C tools/keytools && make -C tools/bin-assemble
82
73
83
74
- name : Build wolfboot
84
75
run : |
@@ -108,18 +99,19 @@ jobs:
108
99
run : |
109
100
./tools/keytools/sign --ed25519 --sha256 --manual-sign test-app/image.elf public-key.der 1 test-app/image_v1.sig
110
101
102
+
111
103
# RSA
112
104
- name : make clean
113
105
run : |
114
- make distclean && make keysclean && make -C tools/keytools clean && rm -f include/target.h
106
+ make distclean
115
107
116
108
- name : Select config
117
109
run : |
118
110
cp config/examples/sim-rsa.config .config && make include/target.h
119
111
120
- - name : Build key tools
112
+ - name : Build tools
121
113
run : |
122
- make -C tools/keytools
114
+ make -C tools/keytools && make -C tools/bin-assemble
123
115
124
116
- name : Build wolfboot
125
117
run : |
0 commit comments