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.
 
 
 
 
 
 

45 regels
1005 B

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