1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
trezor-firmware/script/cibuild
Tomas Susanka 3185eb0fd4 build: ciscript includes firmware sign
so that emulator build uses pipenv to ensure stable environment for python-trezor
but fetching python-trezor and friends doesn't needlessly slow down non-emulator builds
that don't need it
2018-06-08 16:57:06 +02:00

24 lines
442 B
Bash
Executable File

#!/bin/bash
# script/cibuild: Setup environment for CI to run tests. This is primarily
# designed to run on the continuous integration server.
set -e
cd "$(dirname "$0")/.."
if [ "$EMULATOR" = 1 ]; then
make -C emulator
else
make -C vendor/libopencm3 lib/stm32/f2
fi
make
if [ "$EMULATOR" != 1 ]; then
make -C bootloader
fi
make -C vendor/nanopb/generator/proto
make -C firmware/protob
make -C firmware sign