.gitlab-ci.yml 2.13 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 10
    - export 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
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 24 25 26 27 28 29 30 31 32 33 34
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
35 36 37 38
debian9:
  image: debian:9
  stage: build
  script:
39 40
    - echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
    - apt -t stretch-backports update -y -qq
41
    - 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
42 43 44
    - cd old_icons
    - bash replace.sh
    - cd ..
Cool Fire's avatar
Cool Fire committed
45
    - meson --buildtype release build
Cool Fire's avatar
Cool Fire committed
46
    - ninja -C build
47
    - cp build/src/fe-gtk/hexchat .
Cool Fire's avatar
Cool Fire committed
48 49
  artifacts:
    paths:
50
      - hexchat
Cool Fire's avatar
Cool Fire committed
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
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
66