.gitlab-ci.yml 708 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. default:
  2. before_script:
  3. - apt-get update -qq
  4. - apt-get install -y cmake qtbase5-dev g++
  5. variables:
  6. DEBIAN_FRONTEND: noninteractive
  7. pages:
  8. image: ubuntu:latest
  9. stage: deploy
  10. script:
  11. - apt-get install -y doxygen graphviz g++
  12. - mkdir -p build
  13. - cd build
  14. - cmake ..
  15. - make QtColorWidgets_docs
  16. after_script:
  17. - mv build/doxygen/html public
  18. artifacts:
  19. paths:
  20. - public
  21. when: always
  22. only:
  23. - master
  24. needs: ["linux:build"]
  25. linux:build:
  26. image: ubuntu:latest
  27. stage: build
  28. script:
  29. - mkdir build
  30. - cd build
  31. - cmake ..
  32. - make
  33. when: always