.gitlab-ci.yml 1.6 KB
Newer Older
Cool Fire's avatar
Cool Fire committed
1 2 3 4
---
stages:
  - build

Cool Fire's avatar
Cool Fire committed
5
ubuntu1804:
Cool Fire's avatar
Cool Fire committed
6 7 8 9
  image: ubuntu:18.04
  stage: build
  script:
    - apt update -y -qq
10
    - apt install -y build-essential meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi appstream-util
Cool Fire's avatar
Cool Fire committed
11 12 13
    - cd old_icons
    - bash replace.sh
    - cd ..
Cool Fire's avatar
Cool Fire committed
14
    - meson --buildtype release build
Cool Fire's avatar
Cool Fire committed
15
    - ninja -C build
16
    - cp build/src/fe-gtk/hexchat .
Cool Fire's avatar
Cool Fire committed
17 18
  artifacts:
    paths:
19
      - hexchat
Cool Fire's avatar
Cool Fire committed
20 21 22 23
debian9:
  image: debian:9
  stage: build
  script:
24 25
    - echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
    - apt -t stretch-backports update -y -qq
26
    - apt -t stretch-backports install -y build-essential meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi appstream-util
Cool Fire's avatar
Cool Fire committed
27 28 29
    - cd old_icons
    - bash replace.sh
    - cd ..
Cool Fire's avatar
Cool Fire committed
30
    - meson --buildtype release build
Cool Fire's avatar
Cool Fire committed
31
    - ninja -C build
32
    - cp build/src/fe-gtk/hexchat .
Cool Fire's avatar
Cool Fire committed
33 34
  artifacts:
    paths:
35
      - hexchat
Cool Fire's avatar
Cool Fire committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
debian10:
  image: debian:10
  stage: build
  script:
    - apt update -y -qq
    - apt install -y build-essential meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi appstream-util
    - cd old_icons
    - bash replace.sh
    - cd ..
    - meson --buildtype release build
    - ninja -C build
    - cp build/src/fe-gtk/hexchat .
  artifacts:
    paths:
      - hexchat
Cool Fire's avatar
Cool Fire committed
51