.gitlab-ci.yml 528 B

123456789101112131415161718192021222324252627
  1. image: ubuntu:22.04
  2. variables:
  3. DEBIAN_FRONTEND: noninteractive
  4. before_script:
  5. - apt-get --quiet update --yes >/dev/null
  6. - apt-get --quiet install --yes clang-14 clang-tidy-14 clang-format-14 git libdrm-dev blueprint-tools libgtest-dev make >/dev/null
  7. stages:
  8. - build
  9. - style
  10. build:
  11. stage: build
  12. script:
  13. - make -f .ci/Makefile
  14. artifacts:
  15. when: on_failure
  16. untracked: true
  17. checkstyle:
  18. stage: style
  19. script: "./.ci/.gitlab-ci-checkcommit.sh"
  20. artifacts:
  21. when: on_failure
  22. untracked: true