Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

46 lignes
1.0 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: clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -gfull -gdwarf -o ./bin/slime_d --std=c++17 -I3rd/
  17. build_g++_d:
  18. stage: build_debug
  19. script: g++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS src/main.cpp -g -o ./bin/slime_d --std=c++17 -I3rd/
  20. build_clang++_r:
  21. image: warchantua/dev-essential
  22. stage: build_release
  23. script: clang++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1
  24. build_g++_r:
  25. stage: build_release
  26. script: g++ -D_DONT_BREAK_ON_ERRORS -O3 src/main.cpp -g -o ./bin/slime --std=c++17 -I3rd/ || exit 1
  27. tests_d:
  28. stage: test
  29. script: ./bin/slime_d --run-tests
  30. tests_r:
  31. stage: test
  32. script: ./bin/slime --run-tests
  33. valgrind:
  34. image: warchantua/dev-essential
  35. stage: test
  36. script: valgrind ./bin/slime --run-tests