You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
923 B
Bash
34 lines
923 B
Bash
#!/bin/sh
|
|
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
|
|
if [ ! -z "${MATRIX_CC}" ]; then
|
|
eval "${MATRIX_CC}"
|
|
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 ~/
|
|
git clone https://github.com/TES3MP/RakNet
|
|
cd RakNet
|
|
cmake . -DRAKNET_ENABLE_DLL=OFF -DRAKNET_ENABLE_SAMPLES=OFF -DCMAKE_BUILD_TYPE=Release
|
|
make -j3
|
|
|
|
cd ~/
|
|
git clone https://github.com/Koncord/CallFF
|
|
cd CallFF
|
|
mkdir build
|
|
cd build
|
|
cmake ../
|
|
make -j3
|
|
|
|
cd ~/
|
|
wget https://github.com/zdevito/terra/releases/download/release-2016-03-25/terra-Linux-x86_64-332a506.zip
|
|
unzip terra-Linux-x86_64-332a506.zip
|