p≡p engine fork for my own dirty testing of stuff
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.

85 lines
1.7 KiB

  1. include:
  2. - '.gitlab-ci-files/common-prepare.yml'
  3. stages:
  4. - deps
  5. - build
  6. - packages
  7. # Debian
  8. debian10:build:
  9. extends: .make_in_docker
  10. stage: build
  11. variables:
  12. MAKE_TARGET: "build"
  13. CI_DISTRO_TARGET: "debian10"
  14. DEBIAN_FRONTEND: "noninteractive"
  15. rules:
  16. - if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
  17. debian10:tagged-build:
  18. extends: .make_in_docker
  19. stage: build
  20. variables:
  21. MAKE_TARGET: "build"
  22. CI_DISTRO_TARGET: "debian10"
  23. DEBIAN_FRONTEND: "noninteractive"
  24. TAGGED_BUILD: "true"
  25. rules:
  26. - if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
  27. # CentOS
  28. centos8:deps:
  29. extends: .make_in_docker
  30. stage: deps
  31. variables:
  32. MAKE_TARGET: "deps"
  33. CI_DISTRO_TARGET: "centos8"
  34. rules:
  35. - changes:
  36. - DEPENDENCIES
  37. centos8:build:
  38. extends: .make_in_docker
  39. stage: build
  40. variables:
  41. MAKE_TARGET: "build"
  42. CI_DISTRO_TARGET: "centos8"
  43. rules:
  44. - if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
  45. centos8:tagged-build:
  46. extends: .make_in_docker
  47. stage: build
  48. variables:
  49. MAKE_TARGET: "build"
  50. CI_DISTRO_TARGET: "centos8"
  51. TAGGED_BUILD: "true"
  52. rules:
  53. - if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
  54. centos8:rpm:
  55. extends: .make_in_docker
  56. stage: packages
  57. needs: ["centos8:build"]
  58. variables:
  59. MAKE_TARGET: "rpm"
  60. CI_DISTRO_TARGET: "centos8"
  61. rules:
  62. - if: '$CI_COMMIT_TAG !~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'
  63. centos8:rpm:tagged-build:
  64. extends: .upload_pkg
  65. stage: packages
  66. needs: ["centos8:tagged-build"]
  67. variables:
  68. MAKE_TARGET: "rpm"
  69. CI_DISTRO_TARGET: "centos8"
  70. TAGGED_BUILD: "true"
  71. rules:
  72. - if: '$CI_COMMIT_TAG =~ /^Release_[0-9]+\.[0-9]+\.[0-9]+$/'