.gitlab-ci.yml 1.3 KB
Newer Older
1
2
3
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0:

include:
4
5
  - project: 'freedesktop/ci-templates'
    ref: 59de540b620c45739871d1a073d76d5521989d11 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
6
7
8
9
    file: '/templates/fedora.yml'


variables:
10
  FDO_UPSTREAM_REPO: xorg/drivers/xf86-input-libinput
11
12
13


stages:
14
  - containers
15
16
17
  - build


18
.fedora:
19
  variables:
20
    FDO_DISTRIBUTION_VERSION: 33
21
    FDO_DISTRIBUTION_PACKAGES: 'git autoconf automake libtool make xorg-x11-server-devel libudev-devel libevdev-devel libinput-devel xorg-x11-util-macros'
22
23
    FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/fedora-install.sh'
    FDO_DISTRIBUTION_TAG: '2021-09-15.0'
24
25


26
27
28
29
30
31
32
fedora@container_build:
  extends:
    - .fedora
    - .fdo.container-build@fedora
  stage: containers
  variables:
    GIT_STRATEGY: none
33
34


35
36
.default_build:
  stage: build
37
38
39
40
41
42
43
  script:
    - mkdir _builddir _inst
    - pushd _builddir > /dev/null
    - ../autogen.sh --prefix=$(realpath ../_inst) --disable-silent-rules
    - make && make check
    - make install
    - popd > /dev/null
44
45
46
47
48
49
  artifacts:
    name: "automake-logs-$CI_JOB_NAME"
    when: always
    expire_in: 1 week
    paths:
      - _builddir/config.log
50
51


52
fedora:33@default-build:
53
54
55
56
  extends:
    - .fedora
    - .fdo.distribution-image@fedora
    - .default_build