rusefi-1/misc/jenkins/build_simulator.sh

15 lines
274 B
Bash

#!/bin/bash
echo "TIMESTAMP $(date "+%D %T.%2N") Building rusefi simulator"
pwd
cd simulator
gcc -v
make -v
mkdir -p out
rm -rf build
rm -rf .dep
bash compile.sh
ls build
cd ..
[ -e simulator/build/rusefi_simulator.exe ] || { echo "SIMULATOR COMPILATION FAILED"; exit 1; }