You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ci_build.sh 359B

5 vuotta sitten
7 vuotta sitten
7 vuotta sitten
12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. set -ex
  3. # Conan
  4. apt-get install -y python3-pip
  5. pip3 install conan
  6. # #156 Workaround for conan#4938
  7. mkdir -p ~/.conan
  8. cp script/settings.yml ~/.conan/
  9. if [[ "${CXX}" == clang* ]]
  10. then
  11. export CXXFLAGS="-stdlib=libc++"
  12. fi
  13. mkdir build && cd build
  14. conan install --build missing -s compiler.libcxx=libstdc++11 ..
  15. cmake ..
  16. make
  17. make unittest