summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 778b71829c7372b6ea1b282f8c512f0d794cfe5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/base:latest

stages:
  - build

gnome-runtime-linux:
  stage: build
  before_script:
    - >
      dnf install -y \
        glibc-langpack-en \
        gcc \
        gcc-c++ \
        meson \
        redhat-rpm-config \
        glib2-devel \
        harfbuzz-devel \
        fribidi-devel \
        cairo-devel \
        gobject-introspection-devel \
        cairo-gobject-devel \
        abattis-cantarell-fonts \
        desktop-file-utils
  script:
    - meson _build
    - ninja -C _build
    - meson -C _build test --suite pango
    - _build/utils/pango-view --output _build/hello.png utils/HELLO.txt
  artifacts:
    name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
    when: always
    paths:
      - _build/meson-logs
      - _build/hello.png

msys2-mingw64:
  stage: build
  tags:
    - win32
  variables:
    MSYSTEM: "MINGW64"
    CHERE_INVOKING: "yes"
  script:
    - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
    - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
  artifacts:
    name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
    when: always
    paths:
      - _build/meson-logs