mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
27 lines
457 B
Bash
Executable File
27 lines
457 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 [ "$FASTFLASH" = 1 ]; then
|
|
make -C fastflash
|
|
fi
|
|
|
|
make -C bootloader
|
|
make -C vendor/nanopb/generator/proto
|
|
make -C firmware/protob
|
|
|
|
make -C firmware
|