2 FDO_UPSTREAM_REPO: mesa/waffle
3 FDO_DISTRIBUTION_TAG: '2021-01-26_4'
4 FDO_DISTRIBUTION_VERSION: 'buster-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: >
63 - .fdo.container-build@debian
67 image: "$CI_REGISTRY_IMAGE/debian/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
76 - bash .gitlab-ci/build-meson.sh x11
77 - bash .gitlab-ci/build-meson.sh wayland
78 - bash .gitlab-ci/build-meson.sh gbm
79 - bash .gitlab-ci/build-meson.sh surfaceless
83 - _build/meson-logs/*.txt
91 -DCMAKE_INSTALL_PREFIX=`pwd`/install
92 -DCMAKE_BUILD_TYPE=Debug
95 -Dwaffle_has_x11_egl=1
96 -Dwaffle_has_wayland=1
97 -Dwaffle_has_surfaceless=1
98 -Dwaffle_build_manpages=1
99 -Dwaffle_build_htmldocs=1
100 -Dwaffle_build_examples=1
102 - make -C _build check
103 - make -C _build install
109 - .gitlab-ci/build-cmake-mingw.sh
110 # TODO: Only create artifacts on certain builds. See also:
111 # - https://docs.gitlab.com/ee/ci/yaml/README.html#artifactspaths
112 # - https://docs.gitlab.com/ee/ci/yaml/README.html#complete-example-for-release
115 - publish/*/waffle-*.zip
121 - apk add --no-cache git git-lfs
124 - git checkout origin/website
125 - git log --oneline -1
126 - cp -r files man public
127 - git checkout origin/master
128 - git log --oneline -1
130 - cp -r *.jpg *.html *.css ../public
137 # TODO: Trigger pages only when the `www` directory changes. But, with this
138 # `changes` code, it never triggers the job.