diff --git a/script/ci_setup.sh b/script/ci_setup.sh index 1162291..e05e9e0 100755 --- a/script/ci_setup.sh +++ b/script/ci_setup.sh @@ -2,11 +2,6 @@ set -ex -if [[ "${CXX}" == clang* ]] -then - export CXXFLAGS="-stdlib=libc++" -fi - # Install dependencies apt-get update apt-get install -y --no-install-recommends \ @@ -16,6 +11,11 @@ apt-get install -y --no-install-recommends \ libgl1-mesa-dev \ libusb-1.0-0-dev +if [[ "${CXX}" == clang* ]] +then + export CXXFLAGS="-stdlib=libc++" +fi + git clone --depth=1 --branch=v1.15.0 https://github.com/google/googletest.git mkdir googletest/build cd googletest/build