2 FDO_UPSTREAM_REPO: mesa/waffle
3 FDO_DISTRIBUTION_TAG: '2022-09-13'
4 FDO_DISTRIBUTION_VERSION: 'bullseye-slim'
7 - project: 'freedesktop/ci-templates'
8 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
9 file: '/templates/debian.yml'
13 - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
14 - if: $CI_PIPELINE_SOURCE == 'push'
22 # When to automatically run the CI
27 - runner_system_failure
28 # Cancel CI run if a newer commit is pushed to the same branch
34 - .fdo.container-build@debian
37 # no need to pull the whole repo to build the container image
40 # clang-format requires git, yet it's missing in the packaging
41 FDO_DISTRIBUTION_PACKAGES: >
72 - .fdo.container-build@debian
76 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
80 - .gitlab-ci/clang-format.sh
86 - .fdo.container-build@debian
90 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
99 - bash .gitlab-ci/build-meson.sh x11
100 - bash .gitlab-ci/build-meson.sh wayland
101 - bash .gitlab-ci/build-meson.sh gbm
102 - bash .gitlab-ci/build-meson.sh surfaceless
106 - _build/meson-logs/*.txt
114 -DCMAKE_INSTALL_PREFIX=`pwd`/install
115 -DCMAKE_BUILD_TYPE=Debug
116 -Dwaffle_enable_deprecated_build=1
119 -Dwaffle_has_x11_egl=1
120 -Dwaffle_has_wayland=1
121 -Dwaffle_has_surfaceless=1
122 -Dwaffle_build_manpages=1
123 -Dwaffle_build_htmldocs=1
124 -Dwaffle_build_examples=1
126 - make -C _build check
127 - make -C _build install
133 - .gitlab-ci/build-cmake-mingw.sh
134 # TODO: Only create artifacts on certain builds. See also:
135 # - https://docs.gitlab.com/ee/ci/yaml/README.html#artifactspaths
136 # - https://docs.gitlab.com/ee/ci/yaml/README.html#complete-example-for-release
139 - publish/*/waffle-*.zip
145 - apk add --no-cache git git-lfs
148 - git checkout origin/tarballs
149 - git log --oneline -1
151 - git checkout origin/master
152 - git log --oneline -1
154 - cp -r doc/release-notes public/files
163 - doc/release-notes/**/*