2 UPSTREAM_REPO: mesa/waffle
5 - project: 'wayland/ci-templates'
6 ref: f69acac60d5dde0410124fd5674764600821b7a6
7 file: '/templates/debian.yml'
15 # When to automatically run the CI
20 - runner_system_failure
21 # Cancel CI run if a newer commit is pushed to the same branch
25 # Debian 10 based x86 build image
29 - .debian@container-ifnot-exists
32 DEBIAN_VERSION: buster-slim
33 REPO_SUFFIX: $CI_JOB_NAME
34 # no need to pull the whole repo to build the container image
36 DEBIAN_TAG: &x86_build "2019-11-22"
61 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
69 extends: .ci-run-policy
79 - bash .gitlab-ci/build-meson.sh x11
80 - bash .gitlab-ci/build-meson.sh wayland
81 - bash .gitlab-ci/build-meson.sh gbm
82 - bash .gitlab-ci/build-meson.sh surfaceless
86 - _build/meson-logs/*.txt
96 -DCMAKE_INSTALL_PREFIX=`pwd`/install
97 -DCMAKE_BUILD_TYPE=Debug
100 -Dwaffle_has_x11_egl=1
101 -Dwaffle_has_wayland=1
102 -Dwaffle_build_manpages=1
103 -Dwaffle_build_htmldocs=1
104 -Dwaffle_build_examples=1
105 - ninja -C _build -j4
106 - ninja -C _build check
107 - ninja -C _build install
114 - apk add --no-cache git git-lfs
117 - git checkout origin/website
118 - git log --oneline -1
119 - cp -r files man public
120 - git checkout origin/master
121 - git log --oneline -1
123 - cp -r *.jpg *.html *.css ../public
130 # TODO: Trigger pages only when the `www` directory changes. But, with this
131 # `changes` code, it never triggers the job.