2 FDO_UPSTREAM_REPO: mesa/waffle
3 FDO_DISTRIBUTION_TAG: '2022-09-13_1'
4 FDO_DISTRIBUTION_VERSION: 'bullseye-slim'
7 - project: 'freedesktop/ci-templates'
8 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
9 file: '/templates/debian.yml'
16 # When to automatically run the CI
21 - runner_system_failure
22 # Cancel CI run if a newer commit is pushed to the same branch
28 - .fdo.container-build@debian
31 # no need to pull the whole repo to build the container image
34 FDO_DISTRIBUTION_PACKAGES: >
64 - .fdo.container-build@debian
68 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
77 - bash .gitlab-ci/build-meson.sh x11
78 - bash .gitlab-ci/build-meson.sh wayland
79 - bash .gitlab-ci/build-meson.sh gbm
80 - bash .gitlab-ci/build-meson.sh surfaceless
84 - _build/meson-logs/*.txt
92 -DCMAKE_INSTALL_PREFIX=`pwd`/install
93 -DCMAKE_BUILD_TYPE=Debug
96 -Dwaffle_has_x11_egl=1
97 -Dwaffle_has_wayland=1
98 -Dwaffle_has_surfaceless=1
99 -Dwaffle_build_manpages=1
100 -Dwaffle_build_htmldocs=1
101 -Dwaffle_build_examples=1
103 - make -C _build check
104 - make -C _build install
110 - .gitlab-ci/build-cmake-mingw.sh
111 # TODO: Only create artifacts on certain builds. See also:
112 # - https://docs.gitlab.com/ee/ci/yaml/README.html#artifactspaths
113 # - https://docs.gitlab.com/ee/ci/yaml/README.html#complete-example-for-release
116 - publish/*/waffle-*.zip
122 - apk add --no-cache git git-lfs
125 - git checkout origin/website
126 - git log --oneline -1
127 - cp -r files man public
128 - git checkout origin/master
129 - git log --oneline -1
131 - cp -r *.jpg *.html *.css ../public
138 # TODO: Trigger pages only when the `www` directory changes. But, with this
139 # `changes` code, it never triggers the job.