Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

41 рядки
954 B

  1. default:
  2. image: warchantua/dev-essential
  3. artifacts:
  4. paths:
  5. - ./bin/slime
  6. - ./bin/slime_d
  7. expire_in: 1 week
  8. stages:
  9. - build_debug
  10. - build_release
  11. - test
  12. build_clang++_d:
  13. stage: build_debug
  14. script: clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/
  15. build_g++_d:
  16. stage: build_debug
  17. script: g++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/
  18. build_clang++_r:
  19. stage: build_release
  20. script: clang++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1
  21. build_g++_r:
  22. stage: build_release
  23. script: g++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1
  24. tests_d:
  25. stage: test
  26. script: ./bin/sime_d --run-tests
  27. tests_r:
  28. stage: test
  29. script: ./bin/sime --run-tests
  30. valgrind:
  31. stage: test
  32. script: valgrind ./bin/sime --run-tests