···3434 - pages
3535 - deploy
36363737+###
3838+# Extra rules for packaging
3939+.monado.packaging.conditions:
4040+ rules:
4141+ # Only the default branch of the "upstream" repo.
4242+ - if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
4343+ when: on_success
4444+ # Otherwise, don't build packages.
4545+ - when: never
4646+37473848# # #
3949###
···111121 - .monado.variables.windows:vs2022
112122 - .build-rules
113123 image: $MONADO_IMAGE
114114-115124116125# Variables for build and usage of Debian bullseye image
117126.monado.variables.debian:bullseye:
···278287debian:cmake:
279288 stage: build
280289 extends:
290290+ - .monado.packaging.conditions
281291 - .monado.image.debian:bullseye
282292 before_script:
283293 - pushd doc/changes
···515525 paths:
516526 - install
517527 - build/Testing/Temporary
518518-519519-# Packaging
520520-.monado.packaging.conditions:
521521- rules:
522522- # Only the default branch of the "upstream" repo.
523523- - if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
524524- when: on_success
525525- # Otherwise, don't build packages.
526526- - when: never
527528528529529530
+14-10
.gitlab-ci/ci.template
···5050 - pages
5151 - deploy
52525353+###
5454+# Extra rules for packaging
5555+.monado.packaging.conditions:
5656+ rules:
5757+ # Only the default branch of the "upstream" repo.
5858+ - if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
5959+ when: on_success
6060+ # Otherwise, don't build packages.
6161+ - when: never
6262+53635464{% include 'win_containers.yml' %}
5565{% include 'ci-containers-variables.yml.jinja' %}
···93103{{job.name}}:
94104 stage: build
95105 extends:
106106+{% if job.name == documentation_build %}
107107+ - .monado.packaging.conditions
108108+{% endif %}
96109 - {{base_job_to_use_image(distro, image)}}
9711098111{%- if job.before_script or "android" in job.name %}
···162175 - install
163176 - build/Testing/Temporary
164177165165-# Packaging
166166-.monado.packaging.conditions:
167167- rules:
168168- # Only the default branch of the "upstream" repo.
169169- - if: "$CI_PROJECT_PATH == $FDO_UPSTREAM_REPO && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
170170- when: on_success
171171- # Otherwise, don't build packages.
172172- - when: never
173173-174178{% macro packaging_job_name(distro, image) -%}
175179{{distro.name}}:{{image.codename}}:package
176180{%- endmacro %}
···230234 extends:
231235 - .monado.packaging.conditions
232236 needs:
233233- - debian:cmake
237237+ - {{ documentation_build }}
234238 - reprepro:package
235239 script:
236240 - mkdir -p public
+3
.gitlab-ci/config.yml
···6262 Eigen3_DIR: /usr/lib/cmake/eigen3/
6363 EIGEN3_INCLUDE_DIR: /usr/include/eigen3
64646565+# Which build job do we use to build the documentation.
6666+documentation_build: "debian:cmake"
6767+6568# The distributions we'll make an image for
6669distributions:
6770 - name: debian