.gitlab-ci.yml 2.12 KB
Newer Older
Cool Fire's avatar
Cool Fire committed
1 2 3
---
stages:
  - build
Cool Fire's avatar
Cool Fire committed
4
ubuntu1804:
Cool Fire's avatar
Cool Fire committed
5 6 7 8
  image: ubuntu:18.04
  stage: build
  script:
    - apt update -y -qq
9
    - DEBIAN_FRONTEND=noninteractive 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
10 11 12
    - cd old_icons
    - bash replace.sh
    - cd ..
Cool Fire's avatar
Cool Fire committed
13
    - meson --buildtype release build
Cool Fire's avatar
Cool Fire committed
14
    - ninja -C build
15
    - cp build/src/fe-gtk/hexchat .
Cool Fire's avatar
Cool Fire committed
16 17
  artifacts:
    paths:
18
      - hexchat
Cool Fire's avatar
Cool Fire committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
ubuntu2004:
  image: ubuntu:20.04
  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
34 35 36 37
debian9:
  image: debian:9
  stage: build
  script:
38 39
    - echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
    - apt -t stretch-backports update -y -qq
40
    - 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
41 42 43
    - cd old_icons
    - bash replace.sh
    - cd ..
Cool Fire's avatar
Cool Fire committed
44
    - meson --buildtype release build
Cool Fire's avatar
Cool Fire committed
45
    - ninja -C build
46
    - cp build/src/fe-gtk/hexchat .
Cool Fire's avatar
Cool Fire committed
47 48
  artifacts:
    paths:
49
      - hexchat
Cool Fire's avatar
Cool Fire committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
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
65