mirror of https://github.com/FOME-Tech/fome-fw.git
dead scripts
This commit is contained in:
parent
522e78dd35
commit
705a238435
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "java version"
|
|
||||||
java -version
|
|
||||||
|
|
||||||
echo "Building java console"
|
|
||||||
pwd
|
|
||||||
cd java_tools
|
|
||||||
./gradlew :ui:shadowJar
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
[ -e java_console_binary/fome_console.jar ] || { echo "CONSOLE COMPILATION FAILED"; exit 1; }
|
|
||||||
echo "java console looks good"
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/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/fome_simulator.exe ] || [ -e simulator/build/fome_simulator ] || { echo "SIMULATOR COMPILATION FAILED"; exit 1; }
|
|
|
@ -1,4 +0,0 @@
|
||||||
@echo off
|
|
||||||
echo "gcc version:"
|
|
||||||
x86_64-w64-mingw32-gcc -v
|
|
||||||
sh.exe clean_compile.sh
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Compiling unit tests"
|
|
||||||
make clean
|
|
||||||
# todo: how comes .dep is not being cleaned by 'make clean'?
|
|
||||||
rm -rf .dep/
|
|
||||||
make -j12
|
|
|
@ -1,40 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
echo "The PATH is ${PATH}"
|
|
||||||
cd "${WORKSPACE}"
|
|
||||||
echo "start in workspace ${PWD}"
|
|
||||||
|
|
||||||
cd firmware
|
|
||||||
echo "CD to ${PWD}"
|
|
||||||
|
|
||||||
rm -fR .dep
|
|
||||||
rm -fR build
|
|
||||||
make
|
|
||||||
|
|
||||||
if [ ! -f build/fome.hex ]; then
|
|
||||||
echo "Firmware compilation failed"
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd "${WORKSPACE}/win32_algo_tests"
|
|
||||||
echo "CD to ${PWD}"
|
|
||||||
|
|
||||||
rm -fR .dep
|
|
||||||
rm -fR build
|
|
||||||
make
|
|
||||||
if [ ! -f build/fome_test ]; then
|
|
||||||
echo "test compilation failed"
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# we want to terminate if test fails
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# invoke the tests - hopefully error code would be propagated?
|
|
||||||
build/fome_test
|
|
||||||
|
|
||||||
cd "${WORKSPACE}/java_console"
|
|
||||||
echo "CD to ${PWD}"
|
|
||||||
|
|
||||||
#JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
|
|
||||||
#ant
|
|
||||||
|
|
Loading…
Reference in New Issue