mirror of https://github.com/FOME-Tech/fome-fw.git
more timestamps into CI logs also parallel simulator compilation
This commit is contained in:
parent
af365a8f71
commit
1584a36e28
|
@ -3,23 +3,27 @@ rd /s /q deliver
|
||||||
mkdir deliver
|
mkdir deliver
|
||||||
|
|
||||||
call clean.bat
|
call clean.bat
|
||||||
|
echo "TIMESTAMP %date% %time%"
|
||||||
make -j4
|
make -j4
|
||||||
cp build\rusefi.elf deliver\rusefi_debug.elf
|
cp build\rusefi.elf deliver\rusefi_debug.elf
|
||||||
cp build\rusefi.bin deliver\rusefi_debug.bin
|
cp build\rusefi.bin deliver\rusefi_debug.bin
|
||||||
cp build\rusefi.hex deliver\rusefi_debug.hex
|
cp build\rusefi.hex deliver\rusefi_debug.hex
|
||||||
echo Debug compilation results 1/2
|
echo Debug compilation results 1/2
|
||||||
|
echo "TIMESTAMP %date% %time%"
|
||||||
ls -l build
|
ls -l build
|
||||||
if not exist deliver/rusefi_debug.hex echo FAILED to compile DEBUG
|
if not exist deliver/rusefi_debug.hex echo FAILED to compile DEBUG
|
||||||
if not exist deliver/rusefi_debug.hex exit -1
|
if not exist deliver/rusefi_debug.hex exit -1
|
||||||
|
|
||||||
|
|
||||||
call clean.bat
|
call clean.bat
|
||||||
|
echo "TIMESTAMP %date% %time%"
|
||||||
make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE'
|
make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE'
|
||||||
|
|
||||||
cp build\rusefi.elf deliver\rusefi_release.elf
|
cp build\rusefi.elf deliver\rusefi_release.elf
|
||||||
cp build\rusefi.bin deliver\rusefi_release.bin
|
cp build\rusefi.bin deliver\rusefi_release.bin
|
||||||
cp build\rusefi.hex deliver\rusefi_release.hex
|
cp build\rusefi.hex deliver\rusefi_release.hex
|
||||||
echo Release compilation results 2/2
|
echo Release compilation results 2/2
|
||||||
|
echo "TIMESTAMP %date% %time%"
|
||||||
ls -l build
|
ls -l build
|
||||||
if not exist deliver/rusefi_release.hex echo FAILED to compile RELEASE
|
if not exist deliver/rusefi_release.hex echo FAILED to compile RELEASE
|
||||||
if not exist deliver/rusefi_release.hex exit -1
|
if not exist deliver/rusefi_release.hex exit -1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
echo Building rusefi simulator
|
echo "TIMESTAMP %date% %time% Building rusefi simulator"
|
||||||
pwd
|
pwd
|
||||||
cd simulator
|
cd simulator
|
||||||
gcc -v
|
gcc -v
|
||||||
|
|
|
@ -108,7 +108,7 @@ IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||||
|
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
echo %date% %time%
|
echo "TIMESTAMP %date% %time%"
|
||||||
echo "build_current_bundle: DONE here"
|
echo "build_current_bundle: DONE here"
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
echo "TIMESTAMP %date% %time%"
|
||||||
echo I am hw_test.bat
|
echo I am hw_test.bat
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
@ -34,5 +35,5 @@ ant realtest
|
||||||
IF NOT ERRORLEVEL echo ERROR DETECTED
|
IF NOT ERRORLEVEL echo ERROR DETECTED
|
||||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||||
|
|
||||||
echo %date% %time%
|
echo "TIMESTAMP %date% %time%"
|
||||||
echo hw_test.bat: done
|
echo hw_test.bat: done
|
||||||
|
|
|
@ -11,5 +11,5 @@ ant simlator_test
|
||||||
IF NOT ERRORLEVEL echo ERROR DETECTED
|
IF NOT ERRORLEVEL echo ERROR DETECTED
|
||||||
IF NOT ERRORLEVEL 0 EXIT /B 1
|
IF NOT ERRORLEVEL 0 EXIT /B 1
|
||||||
|
|
||||||
echo %date% %time%
|
echo "TIMESTAMP %date% %time%"
|
||||||
echo simulator_test.bat: done
|
echo simulator_test.bat: done
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
echo I am unit_tests.bat
|
echo "TIMESTAMP %date% %time% I am unit_tests.bat"
|
||||||
|
|
||||||
set FTP_SERVER=home451478433.1and1-data.host
|
set FTP_SERVER=home451478433.1and1-data.host
|
||||||
rem 'RUSEFI_BUILD_FTP_PASS' environment variable
|
rem 'RUSEFI_BUILD_FTP_PASS' environment variable
|
||||||
|
@ -33,7 +33,7 @@ ls -l build
|
||||||
if not exist build/rusefi_test.exe echo FAILED TO COMPILE UNIT TESTS
|
if not exist build/rusefi_test.exe echo FAILED TO COMPILE UNIT TESTS
|
||||||
if not exist build/rusefi_test.exe exit -1
|
if not exist build/rusefi_test.exe exit -1
|
||||||
|
|
||||||
echo Unit tests build looks good, now executing unit tests
|
echo "TIMESTAMP %date% %time% Unit tests build looks good, now executing unit tests"
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
call rusefi_test.exe
|
call rusefi_test.exe
|
||||||
|
@ -51,6 +51,6 @@ pwd
|
||||||
echo Preparing firmware-only fast upload
|
echo Preparing firmware-only fast upload
|
||||||
zip -j firmware/build/rusefi_firmware.zip firmware/svnversion.h firmware/build/rusefi.hex firmware/build/rusefi.bin firmware/build/rusefi.elf firmware/tunerstudio/rusefi.ini
|
zip -j firmware/build/rusefi_firmware.zip firmware/svnversion.h firmware/build/rusefi.hex firmware/build/rusefi.bin firmware/build/rusefi.elf firmware/tunerstudio/rusefi.ini
|
||||||
|
|
||||||
echo Now uploading only firmware
|
echo "TIMESTAMP %date% %time% Now uploading only firmware
|
||||||
|
|
||||||
ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% separate_files firmware/build/rusefi_firmware.zip
|
ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% separate_files firmware/build/rusefi_firmware.zip
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
rem this is about CygWin colon issue, .dep files are invalid because of that
|
rem this is about CygWin colon issue, .dep files are invalid because of that
|
||||||
rem rm -rf .dep
|
rem rm -rf .dep
|
||||||
rm -f build/rusefi_simulator.exe
|
rm -f build/rusefi_simulator.exe
|
||||||
make -r
|
make -j4 -r
|
||||||
|
echo "TIMESTAMP %date% %time% just compiled rusefi simulator"
|
Loading…
Reference in New Issue