Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

48 řádky
1.1 KiB

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