2014-10-04 11:23:23 +00:00
|
|
|
#!/bin/sh
|
2016-09-04 09:58:28 +00:00
|
|
|
echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
2018-05-10 20:59:41 +00:00
|
|
|
|
|
|
|
# Set up compilers
|
|
|
|
if [ ! -z "${MATRIX_CC}" ]; then
|
|
|
|
eval "${MATRIX_CC}"
|
|
|
|
fi
|
2014-10-04 11:23:23 +00:00
|
|
|
|
2016-08-15 14:04:29 +00:00
|
|
|
# build libgtest & libgtest_main
|
2014-10-04 11:23:23 +00:00
|
|
|
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
|
2016-09-04 06:47:21 +00:00
|
|
|
|
|
|
|
cd ~/
|
2019-02-13 16:45:05 +00:00
|
|
|
git clone https://github.com/TES3MP/CrabNet
|
|
|
|
cd CrabNet
|
|
|
|
cmake . -DCRABNET_ENABLE_DLL=OFF -DCRABNET_ENABLE_SAMPLES=OFF -DCMAKE_BUILD_TYPE=Release
|
2018-05-10 20:59:41 +00:00
|
|
|
make -j3
|
|
|
|
|