ci: Include SDCP test binary in image
This commit is contained in:
parent
0c26205a1e
commit
13d2a6a69b
1 changed files with 12 additions and 0 deletions
|
@ -163,8 +163,20 @@ container_fedora_build:
|
||||||
vala
|
vala
|
||||||
libpcap-devel
|
libpcap-devel
|
||||||
libudev-devel
|
libudev-devel
|
||||||
|
mbedtls-devel
|
||||||
FDO_DISTRIBUTION_EXEC: |
|
FDO_DISTRIBUTION_EXEC: |
|
||||||
git clone https://github.com/martinpitt/umockdev.git && \
|
git clone https://github.com/martinpitt/umockdev.git && \
|
||||||
cd umockdev && \
|
cd umockdev && \
|
||||||
meson _build --prefix=/usr && \
|
meson _build --prefix=/usr && \
|
||||||
ninja -C _build && ninja -C _build install
|
ninja -C _build && ninja -C _build install
|
||||||
|
cd /tmp
|
||||||
|
mkdir -p /usr/local/bin
|
||||||
|
git clone https://github.com/benzea/SecureDeviceConnectionProtocol.git
|
||||||
|
# Don't bother with cmake
|
||||||
|
gcc -l mbedcrypto -I SecureDeviceConnectionProtocol/src/include \
|
||||||
|
SecureDeviceConnectionProtocol/src/test/virt_device.c \
|
||||||
|
SecureDeviceConnectionProtocol/src/client/client.c \
|
||||||
|
SecureDeviceConnectionProtocol/src/test/helpers.c \
|
||||||
|
SecureDeviceConnectionProtocol/src/test/testkeys.c \
|
||||||
|
-o /usr/local/bin/sdcp_virt_device
|
||||||
|
rm -rf SecureDeviceConnectionProtocol
|
||||||
|
|
Loading…
Reference in a new issue