Commit fdea649d authored by Raphael Defosseux's avatar Raphael Defosseux

CI: Adding skeleton to perform basic-simulator testing

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 24c1c6e1
...@@ -135,6 +135,7 @@ case $key in ...@@ -135,6 +135,7 @@ case $key in
LOG_PATTERN=basic_simulator LOG_PATTERN=basic_simulator
NB_PATTERN_FILES=2 NB_PATTERN_FILES=2
BUILD_OPTIONS="--basic-simulator" BUILD_OPTIONS="--basic-simulator"
VM_MEMORY=8192
shift shift
;; ;;
-v3) -v3)
...@@ -186,6 +187,7 @@ case $key in ...@@ -186,6 +187,7 @@ case $key in
LOG_PATTERN=basic_simulator LOG_PATTERN=basic_simulator
NB_PATTERN_FILES=2 NB_PATTERN_FILES=2
BUILD_OPTIONS="--basic-simulator" BUILD_OPTIONS="--basic-simulator"
VM_MEMORY=8192
;; ;;
phy-sim) phy-sim)
VM_NAME=ci-phy-sim VM_NAME=ci-phy-sim
...@@ -289,6 +291,7 @@ echo "############################################################" ...@@ -289,6 +291,7 @@ echo "############################################################"
echo "Running install and build script on VM ($VM_NAME)" echo "Running install and build script on VM ($VM_NAME)"
echo "############################################################" echo "############################################################"
echo "sudo cp 01proxy /etc/apt/apt.conf.d/" > $VM_CMDS echo "sudo cp 01proxy /etc/apt/apt.conf.d/" > $VM_CMDS
echo "touch /home/ubuntu/.hushlogin" >> $VM_CMDS
if [[ "$VM_NAME" == *"-cppcheck"* ]] if [[ "$VM_NAME" == *"-cppcheck"* ]]
then then
echo "echo \"sudo apt-get --yes --quiet install zip cppcheck \"" >> $VM_CMDS echo "echo \"sudo apt-get --yes --quiet install zip cppcheck \"" >> $VM_CMDS
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment