summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d7a8e629c8f78f764db6fe47bba18504d48ae13d (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
51
52
53
54
55
56
57
58
59
60
61
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 \
#        libthai-devel \
#        gobject-introspection-devel \
#        cairo-gobject-devel \
#        abattis-cantarell-fonts \
#        google-droid-sans-fonts \
#        thai-scalable-waree-fonts \
#        desktop-file-utils \
#        diffutils
#  script:
#    - meson _build
#    - ninja -C _build
#    - meson test -C_build --suite pango
#    - _build/utils/pango-list --verbose > _build/fontlist.txt
#    - _build/tests/test-font -p /pango/font/metrics --verbose
#    - _build/utils/pango-view --no-display --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
#      - _build/fontlist.txt

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"
    - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/render-msys2.sh"
    - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/list-msys2.sh"
  artifacts:
    name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
    when: always
    paths:
      - _build/meson-logs
      - _build/hello.png
      - _build/fontlist.txt