mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2024-09-20 03:10:10 +00:00
e697e30c6c
On each push, the software is built in a container, run as a virtual smartcard and test it. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
8 lines
246 B
Bash
Executable File
8 lines
246 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
source tests/docker_env.sh
|
|
#run_in_docker rm -rf CMakeFiles
|
|
run_in_docker mkdir -p build_in_docker
|
|
run_in_docker -w "$PWD/build_in_docker" cmake -DENABLE_EMULATION=1 ..
|
|
run_in_docker -w "$PWD/build_in_docker" make -j ${NUM_PROC}
|