|
|
@ -1,7 +1,4 @@
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
sudo ln -s /usr/bin/clang-3.6 /usr/local/bin/clang
|
|
|
|
|
|
|
|
sudo ln -s /usr/bin/clang++-3.6 /usr/local/bin/clang++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
|
|
echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
|
|
|
|
|
|
|
|
|
|
# Set up compilers
|
|
|
|
# Set up compilers
|
|
|
@ -9,14 +6,6 @@ if [ ! -z "${MATRIX_CC}" ]; then
|
|
|
|
eval "${MATRIX_CC}"
|
|
|
|
eval "${MATRIX_CC}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# build libgtest & libgtest_main
|
|
|
|
|
|
|
|
sudo mkdir /usr/src/gtest/build
|
|
|
|
|
|
|
|
cd /usr/src/gtest/build
|
|
|
|
|
|
|
|
sudo cmake .. -DBUILD_SHARED_LIBS=1
|
|
|
|
|
|
|
|
sudo make -j4
|
|
|
|
|
|
|
|
sudo ln -s /usr/src/gtest/build/libgtest.so /usr/lib/libgtest.so
|
|
|
|
|
|
|
|
sudo ln -s /usr/src/gtest/build/libgtest_main.so /usr/lib/libgtest_main.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd ~/
|
|
|
|
cd ~/
|
|
|
|
git clone https://github.com/TES3MP/CrabNet
|
|
|
|
git clone https://github.com/TES3MP/CrabNet
|
|
|
|
cd CrabNet
|
|
|
|
cd CrabNet
|
|
|
|