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 392B

7 jaren geleden
7 jaren geleden
7 jaren geleden
123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. set -ex
  3. # Conan
  4. apt-get install -y python3-pip
  5. pip3 install conan
  6. conan profile new default --detect
  7. if [[ "${CXX}" == clang* ]]
  8. then
  9. export CXXFLAGS="-stdlib=libc++"
  10. else
  11. conan profile update settings.compiler.libcxx=libstdc++11 default
  12. fi
  13. mkdir build && cd build
  14. conan install \
  15. -g cmake_find_package \
  16. -g cmake_paths \
  17. ..
  18. cmake ..
  19. make
  20. make unittest