mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
19 lines
402 B
Bash
Executable file
19 lines
402 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -evx
|
|
|
|
sudo apt-get -qq update
|
|
sudo apt-get install -y libgtest-dev
|
|
wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
|
|
tar xf release-1.8.0.tar.gz
|
|
cd googletest-release-1.8.0
|
|
|
|
cmake -DBUILD_SHARED_LIBS=ON .
|
|
make
|
|
sudo cp -a googletest/include/gtest /usr/include
|
|
sudo cp -a googlemock/gtest/*.so /usr/lib/
|
|
|
|
sudo ldconfig -v | grep gtest
|
|
|
|
cd $TRAVIS_BUILD_DIR
|
|
|