Improve commit tests script + some fixes

This commit is contained in:
Raphael Coeffic
2022-04-01 08:56:25 +02:00
parent e2e4b93403
commit 7af8e78157
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ do
;;
esac
rm -f native/CMakeCache.txt
rm -f CMakeCache.txt native/CMakeCache.txt
cmake ${BUILD_OPTIONS} "${SRCDIR}"
cmake --build . --target native-configure
cmake --build native -j${JOBS} --target libsimulator
+1 -1
View File
@@ -150,6 +150,6 @@ do
cmake --build . --target arm-none-eabi-configure
cmake --build arm-none-eabi -j"${CORES}" --target ${FIRMARE_TARGET}
rm -f CMakeCache.txt
rm -f CMakeCache.txt arm-none-eabi/CMakeCache.txt
mv arm-none-eabi/firmware.bin "../${fw_name}"
done
+8 -4
View File
@@ -136,9 +136,13 @@ do
esac
cmake ${BUILD_OPTIONS} "${SRCDIR}"
make -j"${CORES}" ${FIRMARE_TARGET}
make -j"${CORES}" libsimulator
make -j"${CORES}" tests-radio
rm -f CMakeCache.txt
cmake --build . --target arm-none-eabi-configure
cmake --build arm-none-eabi -j"${CORES}" --target ${FIRMARE_TARGET}
cmake --build . --target native-configure
cmake --build native -j"${CORES}" --target libsimulator
cmake --build native -j"${CORES}" --target tests-radio
rm -f CMakeCache.txt native/CMakeCache.txt arm-none-eabi/CMakeCache.txt
done