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'
17 # When to automatically run the CI
22 - runner_system_failure
23 # Cancel CI run if a newer commit is pushed to the same branch
29 - .fdo.container-build@debian
32 # no need to pull the whole repo to build the container image
35 # clang-format requires git, yet it's missing in the packaging
36 FDO_DISTRIBUTION_PACKAGES: >
67 - .fdo.container-build@debian
71 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
75 - .gitlab-ci/clang-format.sh
81 - .fdo.container-build@debian
85 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
94 - bash .gitlab-ci/build-meson.sh x11
95 - bash .gitlab-ci/build-meson.sh wayland
96 - bash .gitlab-ci/build-meson.sh gbm
97 - bash .gitlab-ci/build-meson.sh surfaceless
101 - _build/meson-logs/*.txt
109 -DCMAKE_INSTALL_PREFIX=`pwd`/install
110 -DCMAKE_BUILD_TYPE=Debug
111 -Dwaffle_enable_deprecated_build=1
114 -Dwaffle_has_x11_egl=1
115 -Dwaffle_has_wayland=1
116 -Dwaffle_has_surfaceless=1
117 -Dwaffle_build_manpages=1
118 -Dwaffle_build_htmldocs=1
119 -Dwaffle_build_examples=1
121 - make -C _build check
122 - make -C _build install
128 - .gitlab-ci/build-cmake-mingw.sh
129 # TODO: Only create artifacts on certain builds. See also:
130 # - https://docs.gitlab.com/ee/ci/yaml/README.html#artifactspaths
131 # - https://docs.gitlab.com/ee/ci/yaml/README.html#complete-example-for-release
134 - publish/*/waffle-*.zip
140 - apk add --no-cache git git-lfs
143 - git checkout origin/tarballs
144 - git log --oneline -1
146 - git checkout origin/master
147 - git log --oneline -1
149 - cp -r doc/release-notes public/files
158 - doc/release-notes/**/*