.gitlab-ci.yml 1.15 KB
Newer Older
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
stages:
  - test
  - build
  - deploy

clazy:
  stage: test
  image: kaidan/neon-bionic
  variables:
    CMAKE_CXX_COMPILER: clazy
  script: utils/travis/build.sh

qmllint:
  stage: test
  image: kaidan/neon-bionic
  script: qmllint $(find . -name "*.qml")
  variables:
    QT_SELECT: 5

ubuntu-trusty:
  stage: build
  image: kaidan/ubuntu-trusty
  script: utils/travis/build.sh

neon-bionic:
  stage: build
  image: kaidan/neon-bionic
  script: utils/travis/build.sh

debian-sid:
  stage: build
  image: kaidan/debian-unstable
  script: utils/travis/build.sh

archlinux:
  stage: build
  image: kaidan/archlinux
  script: utils/travis/build.sh

40
linux-appimage:
41
  stage: deploy
42 43
  image: kaidan/ubuntu-xenial
  script: utils/build-linux-appimage.sh
44
  variables:
45
    QXMPP_BUILD: /usr
46 47 48
  artifacts:
    paths:
      - "*.AppImage"
49
      - "*.AppImage.zsync"
50 51
    expire_in: 1 week

52
click-xenial:
53
  stage: deploy
54
  image: kaidan/ubuntu-touch-xenial
55
  script: utils/travis/build.sh
56 57
  variables:
    PLATFORM: ubuntu-touch
58
  artifacts:
59
    paths:
60
      - "*.click"
61
    expire_in: 1 week
62 63 64 65

variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
66
  BUILD_TYPE: Release