forked from camilaDiToro/bOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile_test.sh
16 lines (14 loc) · 970 Bytes
/
compile_test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
docker run -d -v ${PWD}:/root --security-opt seccomp:unconfined -ti --name dockerSO agodio/itba-so:1.0
docker exec -u root -it dockerSO wget -q -O - https://files.pvs-studio.com/etc/pubkey.txt | apt-key add - &&
wget -O /etc/apt/sources.list.d/viva64.list https://files.pvs-studio.com/etc/viva64.list &&
apt-get -y install apt-transport-https &&
apt-get -y update &&
apt-get -y install pvs-studio &&
docker exec -u root -it dockerSO make clean -C /root/Toolchain
docker exec -u root -it dockerSO make all -C /root/Toolchain
docker exec -u root -it dockerSO make clean -C /root/
docker exec -u root -it dockerSO pvs-studio-analyzer credentials "PVS-Studio Free" "FREE-FREE-FREE-FREE"
docker exec -u root -it dockerSO make check -C /root/
docker stop dockerSO
docker rm dockerSO