1 # vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
3 # This CI uses the freedesktop.org ci-templates.
4 # Please see the ci-templates documentation for details:
5 # https://freedesktop.pages.freedesktop.org/ci-templates/
7 .templates_sha: &template_sha 25e8e9f020880aa35fffe3d6b259b933f0f9449f # see https://docs.gitlab.com/ee/ci/yaml/#includefile
11 # Arch container builder template
12 - project: 'freedesktop/ci-templates'
14 file: '/templates/arch.yml'
15 - project: 'freedesktop/ci-templates'
17 file: '/templates/ci-fairy.yml'
18 - template: Security/SAST.gitlab-ci.yml
22 - prep # prep work like rebuilding the container images if there is a change
23 - build # for actually building and testing things in a container
29 FDO_UPSTREAM_REPO: 'xorg/driver/xf86-video-sis'
30 # The tag should be updated each time the list of packages is updated.
31 # Changing a tag forces the associated image to be rebuilt.
32 # Note: the tag has no meaning, we use a date format purely for readability
33 FDO_DISTRIBUTION_TAG: '2023-10-06.0'
34 FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake libtool make xorg-util-macros xorgproto xorg-server-devel pixman libpciaccess libdrm'
38 # Verify that commit messages are as expected
45 - ci-fairy check-commits --junit-xml=results.xml
47 - master@xorg/driver/xf86-video-sis
55 # Verify that the merge request has the allow-collaboration checkbox ticked
62 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
71 # Build a container with the given tag and the packages pre-installed.
72 # This only happens if the tag changes, otherwise the existing image is
77 - .fdo.container-build@arch
84 # The default build, runs on the image built above.
89 - .fdo.distribution-image@arch
93 - pushd _builddir > /dev/null
94 - ../configure --disable-silent-rules